aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-25 17:57:29 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-25 17:57:29 +0200
commitc1462d6bc63896940931696425d6c41a9798cfae (patch)
tree8fc2c53da44ff03c031843d21f50d86ae4dcf9da
parenta67700bfbc78c373999403b43c8d0b977a69772e (diff)
downloadmerchant-c1462d6bc63896940931696425d6c41a9798cfae.tar.gz
merchant-c1462d6bc63896940931696425d6c41a9798cfae.zip
-run db initialization last
-rwxr-xr-xdebian/db/install/pgsql4
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
30fi 30fi
31# Run database initialization logic
32sudo -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!
35if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then 33if [ -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
63fi 61fi
62# Run database initialization logic
63sudo -u postgres taler-merchant-dbinit -c /etc/taler/taler.conf