diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-03-01 19:19:25 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-03-01 19:19:25 +0000 |
commit | 9ae87cc0feb672c88f7ae8b2092acd80f4094e2e (patch) | |
tree | a608db0f9ffdde907ff300e70cabf6bd3f92583a | |
parent | 2a7dc7f487dfe6a9dc0615bdc46fee17801b5b88 (diff) | |
download | sitesummary-9ae87cc0feb672c88f7ae8b2092acd80f4094e2e.tar.gz sitesummary-9ae87cc0feb672c88f7ae8b2092acd80f4094e2e.tar.bz2 sitesummary-9ae87cc0feb672c88f7ae8b2092acd80f4094e2e.tar.xz |
Add 'status' handling to init.d script.
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/sitesummary-client.init | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index ac08cfa..95b9054 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ sitesummary (0.0.61) UNRELEASED; urgency=low http://exchange.nagios.org/directory/Plugins/Printing/check_cups_queue/details * Make client recommend iproute, to make sure the ip command is available when the cdpr collecting code needs it. + * Add 'status' handling to init.d script. -- Petter Reinholdtsen <pere@debian.org> Fri, 19 Feb 2010 10:57:11 +0100 diff --git a/debian/sitesummary-client.init b/debian/sitesummary-client.init index 8f2bf7e..0d2293c 100644 --- a/debian/sitesummary-client.init +++ b/debian/sitesummary-client.init @@ -30,8 +30,11 @@ case "$1" in ;; stop|reload|force-reload|restart) ;; + status) + exit 3 # Not really a service, so it is not running + ;; *) - echo "Usage: /etc/init.d/atd {start|stop|restart|force-reload|reload}" + echo "Usage: /etc/init.d/atd {start|stop|restart|force-reload|reload|status}" exit 1 ;; esac |