Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (4)
Make /etc/apacheds writable by app user in postinst
· 3d9809d3
Tony Mancill
authored
Feb 18, 2019
3d9809d3
Modify conditions in systemd unit file for service start
· e2f53d10
Tony Mancill
authored
Feb 18, 2019
e2f53d10
interm changelog
· ef2f0dda
Tony Mancill
authored
Feb 18, 2019
ef2f0dda
Update postinst as per Debian policy section 10.9
· 620c31b1
Tony Mancill
authored
Feb 18, 2019
620c31b1
Show whitespace changes
Inline
Side-by-side
debian/apacheds.postinst
View file @
620c31b1
...
...
@@ -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/
*
;;
...
...
debian/apacheds.service
View file @
620c31b1
[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
...
...
debian/changelog
View file @
620c31b1
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.
...
...