gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: fix GRANT


From: gnunet
Subject: [taler-deployment] branch master updated: fix GRANT
Date: Sat, 04 Mar 2023 20:47:04 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 60a8cd2  fix GRANT
60a8cd2 is described below

commit 60a8cd26f307f232ef0a31771482ac6ed115cffd
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Mar 4 20:47:01 2023 +0100

    fix GRANT
---
 netzbon/setup-exchange.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/netzbon/setup-exchange.sh b/netzbon/setup-exchange.sh
index a52b432..e6fc0cd 100755
--- a/netzbon/setup-exchange.sh
+++ b/netzbon/setup-exchange.sh
@@ -66,9 +66,9 @@ sudo -i -u postgres createuser -d taler-exchange-closer || 
true
 sudo -i -u postgres createuser -d taler-exchange-aggregator || true
 sudo -i -u postgres createdb -O taler-exchange-httpd $EXCHANGE_DB || true
 
-echo "GRANT CREATE ON DATABASE \"${EXCHANGE_DB}\" TO \"taler-exchange-wire\";" 
| sudo -i -u postgres psql -f -
-echo "GRANT CREATE ON DATABASE \"${EXCHANGE_DB}\" TO 
\"taler-exchange-closer\";" | sudo -i -u postgres psql -f -
-echo "GRANT CREATE ON DATABASE \"${EXCHANGE_DB}\" TO 
\"taler-exchange-aggregator\";" | sudo -i -u postgres psql -f -
+echo "GRANT SELECT,INSERT,UPDATE,DELETE ON DATABASE \"${EXCHANGE_DB}\" TO 
\"taler-exchange-wire\";" | sudo -i -u postgres psql -f -
+echo "GRANT SELECT,INSERT,UPDATE,DELETE ON DATABASE \"${EXCHANGE_DB}\" TO 
\"taler-exchange-closer\";" | sudo -i -u postgres psql -f -
+echo "GRANT SELECT,INSERT,UPDATE,DELETE ON DATABASE \"${EXCHANGE_DB}\" TO 
\"taler-exchange-aggregator\";" | sudo -i -u postgres psql -f -
 
 say "Configuring exchange"
 
@@ -124,7 +124,7 @@ say "Initializing exchange database"
 sudo -u taler-exchange-httpd taler-exchange-dbinit -c /etc/taler/taler.conf
 
 say "Launching exchange"
-systemctl enable --now taler-exchange
+systemctl enable --now taler-exchange.target
 
 
 echo -n "Waiting for exchange..."

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]