merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit b8a517c0d5b7f0121683b5c940164a2260091e59
parent c926cb924673bdb261a5d79be1be888754604eac
Author: Florian Dold <florian@dold.me>
Date:   Thu,  5 Aug 2021 21:55:59 +0200

adjust permissions

Diffstat:
Mdebian/taler-merchant.postinst | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/taler-merchant.postinst b/debian/taler-merchant.postinst @@ -21,7 +21,13 @@ configure) adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home ${TALER_HOME} ${_USERNAME} fi - # Setup postgres database (needs dbconfig-pgsql package) + if ! dpkg-statoverride --list /etc/taler/secrets/merchant-db.secret.conf >/dev/null 2>&1; then + dpkg-statoverride --add --update \ + taler-merchant-httpd root 460 \ + /etc/taler/secrets/merchant-db.secret.conf + fi + + # Set up postgres database (needs dbconfig-pgsql package) if [ -f /usr/share/dbconfig-common/dpkg/postinst.pgsql ]; then . /usr/share/dbconfig-common/dpkg/postinst.pgsql dbc_pgsql_createdb_encoding="UTF8"