[BusyBox] writing pidfiles

Zeisberger, Uwe Uwe_Zeisberger at digi.com
Wed Aug 24 06:43:59 UTC 2005


> Attached is a patch I use on my installation to have crond and syslogd
> write out a pidfile like their GNU counterparts (it makes monitoring
> easier).
> Looking through the sources, I also noticed that other applets write
> pidfiles (fakeidentd, inetd, udhcpd) so it might save a few bytes to
> make a libbb function for this but I did not go that far yet.
There is a third way: use start-stop-daemon (in debianutils)

Best regards

Uwe Zeisberger
FS Forth-Systeme GmbH, A Digi International Company
Kueferstrasse 8, D-79206 Breisach, Germany
Phone: +49 (7667) 908-0 Fax: +49 (7667) 908-200
Web: www.fsforth.de, www.digi.com 

More information about the busybox mailing list