Correct init script (use --exec instead of --daemon)
Chris Boot
10 years ago
78 | 78 |
# 2 if daemon could not be stopped
|
79 | 79 |
# other if a failure occurred
|
80 | 80 |
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 \
|
81 | |
--pidfile $PIDFILE --daemon $DAEMON
|
|
81 |
--pidfile $PIDFILE --exec $DAEMON
|
82 | 82 |
}
|
83 | 83 |
|
84 | 84 |
case "$1" in
|