On 04/03/2012 14:26, [email protected] wrote:
Hallo Ed!
$ start-stop-daemon --stop --exec /usr/sbin/nginx --pidfile
/var/run/nginx.pid
no /usr/sbin/nginx found; none killed
What about ...
start-stop-daemon --stop --pidfile /var/run/nginx.pid
... ? (shall work on both, upstream and Busybox versions)
Yes this works. Up until recently that's exactly what gentoo used, but
they have now started to switch their init scripts to be more specific
with --exec
I guess this also defends against services which die in the background
and something else ends up accidently running on the same pid
Any chance someone could cook up a fix to make busybox match the other
start-stop-daemon behaviour?
Thanks
Ed W
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox