Commit 7ad86fb9 authored by Petr Baudis's avatar Petr Baudis
Browse files

debian/compctl.init: Fix stopping daemon

Currently, the init script would kill itself
parent 8c8c5729
......@@ -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 --name $NAME
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --exec $DAEMON
[ "$RETVAL" = 2 ] && return 2
# Wait for children to finish too if this is a daemon that forks
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment