diff options
author | Karl Ramm <kcr@mit.edu> | 2009-03-18 20:12:29 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2009-03-18 20:12:29 +0000 |
commit | 0d9c27fbc00ff9f9703d90737337f9e01529d81c (patch) | |
tree | a1d41209ba10c92f71f7d0f76eba8871fb205d36 /debian | |
parent | 9f8f9d44fac72d514a016ad31795235618e5e8e6 (diff) |
actually fix init script
Diffstat (limited to 'debian')
-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." |