diff options
Diffstat (limited to 'debian/db/install/pgsql')
-rwxr-xr-x | debian/db/install/pgsql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/db/install/pgsql b/debian/db/install/pgsql index 7a960471..67b030c0 100755 --- a/debian/db/install/pgsql +++ b/debian/db/install/pgsql | |||
@@ -1,14 +1,14 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | set -eu | 2 | set -eu |
3 | merchantdb_secretconf=/etc/taler/secrets/merchant-db.secret.conf | 3 | merchantdb_secretconf=/etc/taler/secrets/merchant-db.secret.conf |
4 | merchantdb_overrideconf=/etc/taler/overrides.conf | 4 | merchantdb_overrideconf=/etc/taler/conf.d/merchant-debconf.conf |
5 | # get database settings from dbconfig-common and configure | 5 | # get database settings from dbconfig-common and configure |
6 | # for ADMINISTRATIVE access | 6 | # for ADMINISTRATIVE access |
7 | if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then | 7 | if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then |
8 | . /etc/dbconfig-common/taler-merchant.conf | 8 | . /etc/dbconfig-common/taler-merchant.conf |
9 | case "$dbc_dbtype" in | 9 | case "$dbc_dbtype" in |
10 | pgsql) | 10 | pgsql) |
11 | echo -e "[merchant]\nDB=postgres\n\n" > \ | 11 | echo -e "# Config file auto-generated by Debian.\n[merchant]\nDB=postgres\n\n" > \ |
12 | $merchantdb_overrideconf | 12 | $merchantdb_overrideconf |
13 | echo -e "[merchantdb-postgres]\nCONFIG=postgres:///${dbc_dbname}\n\n" > \ | 13 | echo -e "[merchantdb-postgres]\nCONFIG=postgres:///${dbc_dbname}\n\n" > \ |
14 | $merchantdb_secretconf | 14 | $merchantdb_secretconf |