summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnetzbon/setup-exchange.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/netzbon/setup-exchange.sh b/netzbon/setup-exchange.sh
index 7286908..c7f2b49 100755
--- a/netzbon/setup-exchange.sh
+++ b/netzbon/setup-exchange.sh
@@ -34,6 +34,8 @@ source functions.sh
source config/user.conf
source config/internal.conf
+EXCHANGE_DB="taler-exchange"
+
say "Beginning Exchange setup"
if test -z "${BANK_EXCHANGE_PASSWORD:-}"; then
@@ -120,7 +122,7 @@ echo -e "[taler]\n" \
>/etc/taler/conf.d/setup.conf
echo -e "[exchangedb-postgres]\n" \
- "CONFIG=postgres:///${EXCHANGE_DB}\n" \
+ "CONFIG=postgres:///exchange\n" \
>/etc/taler/secrets/exchange-db.secret.conf
chmod 440 /etc/taler/secrets/exchange-db.secret.conf
chown root:taler-exchange-db /etc/taler/secrets/exchange-db.secret.conf