commit c40a6a92bdf42b033309d75e6b1b6f925a3d1af7
parent 7e8a3224c3f583422fa317e9118a6b43951d10a3
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Fri, 1 Dec 2023 10:12:08 +0900
init exchange_db
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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