diff options
Diffstat (limited to 'debian/anastasis-httpd.postinst')
-rw-r--r-- | debian/anastasis-httpd.postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/anastasis-httpd.postinst b/debian/anastasis-httpd.postinst index fe89acb..994b06b 100644 --- a/debian/anastasis-httpd.postinst +++ b/debian/anastasis-httpd.postinst | |||
@@ -20,6 +20,12 @@ configure) | |||
20 | adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home ${TALER_HOME} ${_USERNAME} | 20 | adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home ${TALER_HOME} ${_USERNAME} |
21 | fi | 21 | fi |
22 | 22 | ||
23 | if ! dpkg-statoverride --list /etc/anastasis/secrets/anastasis-db.secret.conf >/dev/null 2>&1; then | ||
24 | dpkg-statoverride --add --update \ | ||
25 | anastasis-httpd root 460 \ | ||
26 | /etc/anastasis/secrets/anastasis-db.secret.conf | ||
27 | fi | ||
28 | |||
23 | # Setup postgres database (needs dbconfig-pgsql package) | 29 | # Setup postgres database (needs dbconfig-pgsql package) |
24 | if [ -f /usr/share/dbconfig-common/dpkg/postinst.pgsql ]; then | 30 | if [ -f /usr/share/dbconfig-common/dpkg/postinst.pgsql ]; then |
25 | . /usr/share/dbconfig-common/dpkg/postinst.pgsql | 31 | . /usr/share/dbconfig-common/dpkg/postinst.pgsql |