unfortunately that’s already the case. But today I have a different behaviour. Cherokee stops, but doesn't kill php-cgi. Very very wierd.
# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
www-data 1294 0.1 0.7 193960 44688 ? S Jan09 1:07 php-cgi -b 127.0.0.1:47990
root 1374 0.0 0.0 24712 764 ? Ssl Jan09 0:00 /usr/local/sbin/cherokee -d
www-data 1376 0.0 0.1 794328 10528 ? Sl Jan09 0:01 /usr/local/sbin/cherokee-worker
www-data 1378 0.0 0.0 76372 2156 ? S Jan09 0:00 /usr/bin/rrdtool -
[…]
# cat /usr/local/var/run/cherokee.pid
1374
# start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile /usr/local/var/run/cherokee.pid --name cherokee
#ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
www-data 1294 0.1 0.7 193960 44688 ? S Jan09 1:08 php-cgi -b 127.0.0.1:47990
[…]
Does this have something to do with the script, or with cherokee?
Cheers
Stadtpirat
________________________________
Von: Darac Marjal <maili...@darac.org.uk>
An: debia...@lists.debian.org
Gesendet: 12:32 Montag, 7.Januar 2013
Betreff: Re: start-stop-daemon : questions about retry
Archive: http://lists.debian.org/1357811702.222...@web140503.mail.bf1.yahoo.com