[hamradio-commits] [dump1090-mutability] 108/172: Use invoke-rc.d to restart lighttpd as per Debian policy

Matteo F. Vescovi mfv at moszumanska.debian.org
Sun Jan 28 13:45:50 UTC 2018


This is an automated email from the git hooks/post-receive script.

mfv pushed a commit to branch master
in repository dump1090-mutability.

commit f3aaab1d7bf0254cf62589cb25e0b53fd4020700
Author: Raphael Geissert <atomo64 at gmail.com>
Date:   Sat Aug 8 13:47:05 2015 +0200

    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
     ;;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090-mutability.git



More information about the pkg-hamradio-commits mailing list