Really fix package initial installation when PID1 is systemd (Closes: #747863)

This commit is contained in:
Laurent Bigonville 2015-03-15 11:14:01 +01:00
parent 64e656ba48
commit 5dc71af109
6 changed files with 53 additions and 2 deletions

View file

@ -4,6 +4,13 @@
# because we don't want the daemon to be
# stopped during an upgrade
handle_start_failure () {
# The MODE defined in /etc/nut/nut.conf shouldn't affect the exit code when the
# daemon is stopped. If it fails to stop, the maintainer script should fail
# too.
return 1
}
case "$1" in
remove)