|
@@ -93,7 +93,7 @@ stop()
|
|
# 1 if daemon was already stopped
|
|
# 1 if daemon was already stopped
|
|
# 2 if daemon could not be stopped
|
|
# 2 if daemon could not be stopped
|
|
# other if a failure occurred
|
|
# other if a failure occurred
|
|
- start-stop-daemon --stop --quiet --retry=TERM/10/KILL/5 --pidfile $PIDFILE --name $NAME
|
|
|
|
|
|
+ start-stop-daemon --stop --quiet --retry=TERM/10/KILL/5 --pidfile $PIDFILE --exec $DAEMON
|
|
RETVAL="$?"
|
|
RETVAL="$?"
|
|
[ "$RETVAL" = 2 ] && return 2
|
|
[ "$RETVAL" = 2 ] && return 2
|
|
|
|
|