summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-12-01 10:12:08 +0900
committerChristian Grothoff <grothoff@gnunet.org>2023-12-01 10:25:02 +0900
commitc40a6a92bdf42b033309d75e6b1b6f925a3d1af7 (patch)
treec5a98b68b3f350570ed188e92058919d976464e8
parent7e8a3224c3f583422fa317e9118a6b43951d10a3 (diff)
downloaddeployment-c40a6a92bdf42b033309d75e6b1b6f925a3d1af7.tar.gz
deployment-c40a6a92bdf42b033309d75e6b1b6f925a3d1af7.tar.bz2
deployment-c40a6a92bdf42b033309d75e6b1b6f925a3d1af7.zip
init exchange_db
-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