summaryrefslogtreecommitdiff
path: root/debian/sync-httpd.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sync-httpd.postinst')
-rw-r--r--debian/sync-httpd.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/sync-httpd.postinst b/debian/sync-httpd.postinst
index 16acb35..60393ad 100644
--- a/debian/sync-httpd.postinst
+++ b/debian/sync-httpd.postinst
@@ -2,7 +2,7 @@
set -e
-TALER_HOME="/var/lib/taler/"
+SYNC_HOME="/var/lib/sync/"
_USERNAME=sync-httpd
_GROUPNAME=www-data
@@ -17,7 +17,7 @@ case "${1}" in
configure)
# Creating taler users if needed
if ! getent passwd ${_USERNAME} >/dev/null; then
- adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home ${TALER_HOME} ${_USERNAME}
+ adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home ${SYNC_HOME} ${_USERNAME}
fi
if ! dpkg-statoverride --list /etc/sync/secrets/sync-db.secret.conf >/dev/null 2>&1; then