From c1462d6bc63896940931696425d6c41a9798cfae Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 25 Aug 2021 17:57:29 +0200 Subject: -run db initialization last --- debian/db/install/pgsql | 4 ++-- 1 file 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 -- cgit v1.2.3