aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-exchange.config
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-01 20:43:59 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-01 20:43:59 +0100
commit90d4bc9519507c64ad5c0a604140fcf00a9702ee (patch)
tree4442b78765bf974190b84476031b9a562c86c078 /debian/taler-exchange.config
parentcd9220b187d97a52a8cc3179dc8d3b06d25f942a (diff)
downloadexchange-90d4bc9519507c64ad5c0a604140fcf00a9702ee.tar.xz
work on Debian package: extend pre-configuration, add reverse proxy setup logic, add database setup logic (untested)
Diffstat (limited to 'debian/taler-exchange.config')
-rw-r--r--debian/taler-exchange.config7
1 files changed, 5 insertions, 2 deletions
diff --git a/debian/taler-exchange.config b/debian/taler-exchange.config
index 9cb12cd78..1afcf3587 100644
--- a/debian/taler-exchange.config
+++ b/debian/taler-exchange.config
@@ -22,7 +22,10 @@ db_go
db_input low taler-exchange/groupname || true
db_go
-db_input medium taler-exchange/autostart || true
-db_go
+if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
+ . /usr/share/dbconfig-common/dpkg/config.pgsql
+ dbc_go taler-exchange "$@"
+fi
+
db_stop