diff options
Diffstat (limited to 'regional-currency/setup-exchange.sh')
-rwxr-xr-x | regional-currency/setup-exchange.sh | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/regional-currency/setup-exchange.sh b/regional-currency/setup-exchange.sh index bf1f22d..01792b7 100755 --- a/regional-currency/setup-exchange.sh +++ b/regional-currency/setup-exchange.sh @@ -130,20 +130,6 @@ ENABLE_CREDIT=YES @inline-secret@ exchange-accountcredentials-default ../secrets/exchange-accountcredentials-default.secret.conf EOF -# FIXME-CG: def already in the Git, remove this -# after the next .deb release -cat << EOF > /etc/taler/conf.d/netzbon.conf -[currency-netzbon] -ENABLED=YES -name=NetzBon -code=NETZBON -fractional_input_digits=2 -fractional_normal_digits=2 -fractional_trailing_zero_digits=2 -alt_unit_names = {"0":"NETZBON"} -EOF -chmod a+r /etc/taler/conf.d/netzbon.conf - cat << EOF > /etc/taler/secrets/exchange-db.secret.conf [exchangedb-postgres] CONFIG=postgres:///exchange @@ -181,7 +167,8 @@ say "Initializing exchange database" taler-exchange-dbconfig -c /etc/taler/taler.conf &>> setup.log say "Launching exchange" -systemctl enable --now taler-exchange.target &>> setup.log +systemctl enable taler-exchange.target &>> setup.log +systemctl restart taler-exchange.target &>> setup.log say "Waiting for exchange HTTP service (/config)..." curl -sS --max-time 2 \ |