diff options
author | Antoine A <> | 2024-04-03 00:40:06 +0200 |
---|---|---|
committer | Antoine A <> | 2024-04-03 00:40:06 +0200 |
commit | 6f4eea38dee9a81d586cb3e5ca2226d83999dc70 (patch) | |
tree | 62a7d77d3a47499d0d9b71619fa9de1a0f506456 /regional-currency/setup-exchange.sh | |
parent | 534f2e58e4e46a4689bb6af5291452344c44b9fd (diff) | |
download | deployment-6f4eea38dee9a81d586cb3e5ca2226d83999dc70.tar.gz deployment-6f4eea38dee9a81d586cb3e5ca2226d83999dc70.tar.bz2 deployment-6f4eea38dee9a81d586cb3e5ca2226d83999dc70.zip |
regio: fix reconfiguration
Diffstat (limited to 'regional-currency/setup-exchange.sh')
-rwxr-xr-x | regional-currency/setup-exchange.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/regional-currency/setup-exchange.sh b/regional-currency/setup-exchange.sh index c14adfc..1f0b49d 100755 --- a/regional-currency/setup-exchange.sh +++ b/regional-currency/setup-exchange.sh @@ -42,10 +42,6 @@ if test -z "${BANK_EXCHANGE_PASSWORD:-}"; then say "Failure: BANK_EXCHANGE_PASSWORD not set" exit 1 fi -if test -z "${EXCHANGE_WIRE_GATEWAY_URL:-}"; then - say "Failure: EXCHANGE_WIRE_GATEWAY_URL not set" - exit 1 -fi if test -z "${EXCHANGE_PAYTO:-}"; then say "Failure: EXCHANGE_PAYTO not set" exit 1 @@ -169,7 +165,7 @@ chown root:taler-exchange-db /etc/taler/secrets/exchange-db.secret.conf cat << EOF > /etc/taler/secrets/exchange-accountcredentials-default.secret.conf [exchange-accountcredentials-default] -WIRE_GATEWAY_URL=${EXCHANGE_WIRE_GATEWAY_URL} +WIRE_GATEWAY_URL=${PROTO}://bank.$DOMAIN_NAME/accounts/exchange/taler-wire-gateway/ WIRE_GATEWAY_AUTH_METHOD=basic USERNAME=exchange PASSWORD=${BANK_EXCHANGE_PASSWORD} |