summaryrefslogtreecommitdiff
path: root/debian/sync-httpd.postinst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-09-17 10:51:02 +0200
committerChristian Grothoff <christian@grothoff.org>2021-09-17 10:51:02 +0200
commit960ab5516bdfa9bedc79b7e62fea9fcc4dd3db58 (patch)
tree36300fc6510b6b3b0de82e3bd7ab6f12cb7178a7 /debian/sync-httpd.postinst
parent6bccda792e3709e5f730b6b2360aa268f4c8d7e2 (diff)
downloadsync-960ab5516bdfa9bedc79b7e62fea9fcc4dd3db58.tar.gz
sync-960ab5516bdfa9bedc79b7e62fea9fcc4dd3db58.tar.bz2
sync-960ab5516bdfa9bedc79b7e62fea9fcc4dd3db58.zip
-fix sync-config and service file
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