From 5eaa62d59ceff6105b8159ba742aa875f3fe579c Mon Sep 17 00:00:00 2001 From: Raphael Geissert Date: Sat, 8 Aug 2015 13:47:05 +0200 Subject: [PATCH] Use invoke-rc.d to restart lighttpd as per Debian policy --- debian/dump1090-mutability.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/dump1090-mutability.postinst b/debian/dump1090-mutability.postinst index ae7935e..d24781f 100644 --- a/debian/dump1090-mutability.postinst +++ b/debian/dump1090-mutability.postinst @@ -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 ;;