diff options
author | Florian Dold <florian@dold.me> | 2021-08-28 17:12:32 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-28 17:12:42 +0200 |
commit | 9c3fdba6c1d047093ab970326fef71b0fd65937a (patch) | |
tree | 7bad6bb224697de40e1e7eb3be4a47d745067153 /debian/taler-merchant.config | |
parent | 719a3b154ab65327834e160e045d7e95e7b3b090 (diff) | |
download | merchant-9c3fdba6c1d047093ab970326fef71b0fd65937a.tar.gz merchant-9c3fdba6c1d047093ab970326fef71b0fd65937a.tar.bz2 merchant-9c3fdba6c1d047093ab970326fef71b0fd65937a.zip |
debian: database setup tweaks
Diffstat (limited to 'debian/taler-merchant.config')
-rw-r--r-- | debian/taler-merchant.config | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/debian/taler-merchant.config b/debian/taler-merchant.config index 15552fdb..4a876261 100644 --- a/debian/taler-merchant.config +++ b/debian/taler-merchant.config @@ -4,26 +4,16 @@ set -e . /usr/share/debconf/confmodule -# Set permissions for sqlite3 file -# (for when we support sqlite3 in the future) -dbc_dbfile_owner="${_USERNAME}:${_GROUPNAME}" -dbc_dbfile_perms="0600" - -dbc_psql_createdb_encoding="UTF8" +_USERNAME=taler-merchant-httpd +_GROUPNAME=www-data -# Set MySQL encoding to UTF8, just in case MySQL -# support is added in the future. -dbc_mysql_createdb_encoding="UTF8" +# For now, we only support postgres +dbc_dbtypes=pgsql +dbc_dbuser=${_USERNAME} -# Try to get it to use UNIX domain sockets, if possible. -# (Note: doesn't seem to do much, still uses username+PW+TCP -# on my system :-( dbconfig documentation sucks.). dbc_authmethod_user=ident dbc_authmethod_admin=ident -_USERNAME=taler-merchant-httpd -dbc_dbuser=${_USERNAME} - if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then . /usr/share/dbconfig-common/dpkg/config.pgsql dbc_go taler-merchant "$@" |