From c40a6a92bdf42b033309d75e6b1b6f925a3d1af7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 1 Dec 2023 10:12:08 +0900 Subject: init exchange_db --- netzbon/setup-exchange.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3