summaryrefslogtreecommitdiff
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.tar.bz2
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
;;
esac
fi
-# Run database initialization logic
-sudo -u postgres taler-merchant-dbinit -c /etc/taler/taler.conf
# get database settings from dbconfig-common and configure
# for service access!
if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then
@@ -61,3 +59,5 @@ if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then
;;
esac
fi
+# Run database initialization logic
+sudo -u postgres taler-merchant-dbinit -c /etc/taler/taler.conf