diff --git a/debian/taler-exchange-offline.postinst b/debian/taler-exchange-offline.postinst index f6abcb1e5..dfa755592 100644 --- a/debian/taler-exchange-offline.postinst +++ b/debian/taler-exchange-offline.postinst @@ -14,7 +14,8 @@ configure) if ! getent passwd taler-exchange-offline >/dev/null; then adduser --quiet \ --disabled-password \ - --comment "exchange offline key management" \ + --system \ + --shell /bin/bash \ --ingroup taler-exchange-offline \ taler-exchange-offline fi diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst index b68ee19f4..b2379c706 100644 --- a/debian/taler-exchange.postinst +++ b/debian/taler-exchange.postinst @@ -53,10 +53,10 @@ configure) adduser --quiet ${_AGGRUSERNAME} ${_DBGROUPNAME} fi - if ! dpkg-statoverride --list /etc/taler/secrets/exchange-accountcredentials.secret.conf >/dev/null 2>&1; then + if ! dpkg-statoverride --list /etc/taler/secrets/exchange-accountcredentials-1.secret.conf >/dev/null 2>&1; then dpkg-statoverride --add --update \ ${_WIREUSERNAME} root 460 \ - /etc/taler/secrets/exchange-accountcredentials.secret.conf + /etc/taler/secrets/exchange-accountcredentials-1.secret.conf fi if ! dpkg-statoverride --list /etc/taler/secrets/exchange-db.secret.conf >/dev/null 2>&1; then