diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-25 17:57:29 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-25 17:57:29 +0200 |
commit | c1462d6bc63896940931696425d6c41a9798cfae (patch) | |
tree | 8fc2c53da44ff03c031843d21f50d86ae4dcf9da | |
parent | a67700bfbc78c373999403b43c8d0b977a69772e (diff) | |
download | merchant-c1462d6bc63896940931696425d6c41a9798cfae.tar.gz merchant-c1462d6bc63896940931696425d6c41a9798cfae.zip |
-run db initialization last
-rwxr-xr-x | debian/db/install/pgsql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/db/install/pgsql b/debian/db/install/pgsql index a63ac5c2..7a960471 100755 --- a/debian/db/install/pgsql +++ b/debian/db/install/pgsql | |||
@@ -28,8 +28,6 @@ if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then | |||
28 | ;; | 28 | ;; |
29 | esac | 29 | esac |
30 | fi | 30 | fi |
31 | # Run database initialization logic | ||
32 | sudo -u postgres taler-merchant-dbinit -c /etc/taler/taler.conf | ||
33 | # get database settings from dbconfig-common and configure | 31 | # get database settings from dbconfig-common and configure |
34 | # for service access! | 32 | # for service access! |
35 | if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then | 33 | if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then |
@@ -61,3 +59,5 @@ if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then | |||
61 | ;; | 59 | ;; |
62 | esac | 60 | esac |
63 | fi | 61 | fi |
62 | # Run database initialization logic | ||
63 | sudo -u postgres taler-merchant-dbinit -c /etc/taler/taler.conf | ||