Merge pull request #63 from rgeissert/debian-package-fixes
Use invoke-rc.d to restart lighttpd as per Debian policy
This commit is contained in:
commit
3b4c5c5889
2
debian/dump1090-mutability.postinst
vendored
2
debian/dump1090-mutability.postinst
vendored
|
@ -126,7 +126,7 @@ case "$1" in
|
|||
if [ -e /etc/lighttpd/conf-enabled/89-dump1090.conf ]; then
|
||||
if dpkg --compare-versions "$2" le "1.14"; then
|
||||
echo "Restarting lighttpd.." >&2
|
||||
service lighttpd restart || echo "Warning: lighttpd failed to restart." >&2
|
||||
invoke-rc.d lighttpd restart || echo "Warning: lighttpd failed to restart." >&2
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue