taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 61d65a19a478500904c5513226909a562c999e40
parent 31fff46795e0a547406942f6d03219dc67582c3c
Author: MS <ms@taler.net>
Date:   Sun,  3 Dec 2023 17:30:41 +0100

follow-up

Diffstat:
Mnetzbon/config_libeufin_nexus.sh | 20++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/netzbon/config_libeufin_nexus.sh b/netzbon/config_libeufin_nexus.sh @@ -11,20 +11,12 @@ set -eu source functions.sh source config/user.conf -# In order to reach the bank, the setup step needs to provide -# the section [ebics-setup]. This is a manual process that is -# to be conducted separately. - -if ! taler-config -s "nexus-postgres" -o code &> /dev/null -then echo -e "[nexus-postgres]\n"\ -"config = postgresql:///libeufin" \ - >> /etc/libeufin/libeufin-nexus.conf -fi - -if ! taler-config -s "nexus-ebics" -o code &> /dev/null - taler-config -s nexus-ebics -o currency \ - -V $CURRENCY /etc/libeufin/libeufin-nexus.conf -fi +taler-config -s nexus-postgres -o config \ + -V "postgresql:///libeufin" /etc/libeufin/libeufin-nexus.conf +# Setting the currency here allows to fake incoming payments +# without manually editing the configuration. +taler-config -s nexus-ebics -o currency \ + -V $CURRENCY /etc/libeufin/libeufin-nexus.conf say "Setting up libeufin-nexus database" libeufin-nexus-dbconfig