gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: giving -c to the bank


From: gnunet
Subject: [taler-deployment] branch master updated: giving -c to the bank
Date: Wed, 06 Dec 2023 22:11:49 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new e785200  giving -c to the bank
e785200 is described below

commit e785200a04e0b7dbb25bfcf4a0a6334207100a41
Author: MS <ms@taler.net>
AuthorDate: Wed Dec 6 22:11:33 2023 +0100

    giving -c to the bank
---
 netzbon/config_libeufin_bank.sh | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/netzbon/config_libeufin_bank.sh b/netzbon/config_libeufin_bank.sh
index 50727da..752ab93 100755
--- a/netzbon/config_libeufin_bank.sh
+++ b/netzbon/config_libeufin_bank.sh
@@ -77,17 +77,23 @@ nb_cfg fractional_trailing_zero_digits 2
 nb_cfg alt_unit_names "{\"0\":\"NETZBON\"}"
 
 say "Setting up libeufin-bank admin account..."
-sudo -u "libeufin-bank" libeufin-bank passwd admin "${BANK_ADMIN_PASSWORD}"
+sudo -u libeufin-bank \
+  libeufin-bank passwd \
+  -c /etc/libeufin/libeufin-bank.conf \
+  admin "${BANK_ADMIN_PASSWORD}"
 
 say "Setting up admin's debt limit..."
-sudo -u libeufin-bank libeufin-bank edit-account 
--debit_threshold=${CURRENCY}:200000000 admin
+sudo -u libeufin-bank \
+  libeufin-bank edit-account \
+  -c /etc/libeufin/libeufin-bank.conf \
+  --debit_threshold=${CURRENCY}:200000000 admin
 
 say "Setting up SPA configuration..."
 echo "settings = { bankName: \"${BANK_NAME}\" }" >/etc/libeufin/settings.js
 
 say "Create exchange account..."
 if test -z "${EXCHANGE_PAYTO:-}"; then
-  EXCHANGE_PAYTO_NEW="$(sudo -u libeufin-bank libeufin-bank create-account 
'{"username":"exchange","password":"'${BANK_EXCHANGE_PASSWORD}'","name":"Exchange","is_taler_exchange":true}')?receiver-name=Exchange"
+  EXCHANGE_PAYTO_NEW="$(sudo -u libeufin-bank libeufin-bank create-account -c 
/etc/libeufin/libeufin-bank.conf 
'{"username":"exchange","password":"'${BANK_EXCHANGE_PASSWORD}'","name":"Exchange","is_taler_exchange":true}')?receiver-name=Exchange"
   echo "EXCHANGE_PAYTO=\"${EXCHANGE_PAYTO_NEW}\"" >> config/internal.conf
 fi
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]