diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-12-01 10:12:08 +0900 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-12-01 10:25:02 +0900 |
commit | c40a6a92bdf42b033309d75e6b1b6f925a3d1af7 (patch) | |
tree | c5a98b68b3f350570ed188e92058919d976464e8 | |
parent | 7e8a3224c3f583422fa317e9118a6b43951d10a3 (diff) | |
download | deployment-c40a6a92bdf42b033309d75e6b1b6f925a3d1af7.tar.gz deployment-c40a6a92bdf42b033309d75e6b1b6f925a3d1af7.tar.bz2 deployment-c40a6a92bdf42b033309d75e6b1b6f925a3d1af7.zip |
init exchange_db
-rwxr-xr-x | netzbon/setup-exchange.sh | 4 |
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 |