Bump Standards-Version to 3.9.3 (no changes).
[debian/iodine.git] / debian / iodine.iodined.init
index 21f2db27c75517bdf463ad5f974cf8f9750cc15f..c766ea6be3d210007921921fe9a619f570e59bf7 100644 (file)
@@ -126,6 +126,9 @@ case "$1" in
                2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
        esac
        ;;
+  status)
+       status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+       ;;
   restart|force-reload)
        log_daemon_msg "Restarting $DESC" "$NAME"
        do_stop
@@ -145,7 +148,7 @@ case "$1" in
        esac
        ;;
   *)
-       echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
+       echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
        exit 3
        ;;
 esac