Skip to content
Commits on Source (4)
......@@ -32,7 +32,9 @@ case "$1" in
# Fix directory permissions
chown -Rh $APACHEDS_USER:$APACHEDS_GROUP /var/log/apacheds || true
chown -Rh $APACHEDS_USER:$APACHEDS_GROUP /var/lib/apacheds || true
chown root:$APACHEDS_GROUP /etc/apacheds
chown $APACHEDS_USER:$APACHEDS_GROUP /etc/apacheds/*
chmod 2770 /etc/apacheds
chmod 640 /etc/apacheds/*
;;
......
[Unit]
Description=Apache Directory Server
After=network.target
ConditionPathExists=/etc/apacheds/config.ldif
ConditionPathExists=|/etc/apacheds/config.ldif
ConditionPathIsDirectory=|/etc/apacheds/ou=config
[Service]
Type=simple
......
apache-directory-server (2.0.0~M24-3) UNRELEASED; urgency=medium
* Team upload.
[ Dominik George ]
* Fix mistake in dependency.
[ tony mancill ]
* Make /etc/apacheds writable by app user in postinst and modify
conditions in systemd unit file for service start. (Closes: #921953)
Thank you to Johan Grip for the bug report and patch.
-- tony mancill <tmancill@debian.org> Mon, 18 Feb 2019 14:37:08 -0800
apache-directory-server (2.0.0~M24-2) unstable; urgency=medium
* Team upload.
......