Permalink
Browse files

Fixed up start-stop-daemon usage

  • Loading branch information...
kylegordon committed Sep 25, 2012
1 parent 4a4c9e9 commit d2b8967e9e6fe9c8a27202fb5c7dc8a5e5f1084a
Showing with 1 addition and 1 deletion.
  1. +1 −1 mqtt-republisher.init
View
@@ -63,7 +63,7 @@ do_stop()
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
- start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
+ start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
# Many daemons don't delete their pidfiles when they exit.

0 comments on commit d2b8967

Please sign in to comment.