diff options
-rw-r--r-- | debian/zephyr-clients.init | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/zephyr-clients.init b/debian/zephyr-clients.init index 827cf6b..d0ad3cc 100644 --- a/debian/zephyr-clients.init +++ b/debian/zephyr-clients.init @@ -35,8 +35,8 @@ case "$1" in stop) echo -n "Stopping $DESC: " start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \ - $DAEMON - echo "$NAME." + --name $NAME + echo "$NAME."- ;; restart|force-reload) # @@ -46,7 +46,7 @@ case "$1" in # echo -n "Restarting $DESC: " start-stop-daemon --oknodo --stop --retry 5 --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON + /var/run/$NAME.pid --name $NAME start-stop-daemon --start --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON -- -N $zhm_args echo "$NAME." |