diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-01 20:43:59 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-01 20:43:59 +0100 |
commit | 90d4bc9519507c64ad5c0a604140fcf00a9702ee (patch) | |
tree | 4442b78765bf974190b84476031b9a562c86c078 /debian/taler-exchange.config | |
parent | cd9220b187d97a52a8cc3179dc8d3b06d25f942a (diff) | |
download | exchange-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.config | 7 |
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 |