Really fix package initial installation when PID1 is systemd (Closes: #747863)
This commit is contained in:
parent
64e656ba48
commit
5dc71af109
6 changed files with 53 additions and 2 deletions
13
debian/nut-client.prerm
vendored
Normal file
13
debian/nut-client.prerm
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue