FS#3044 - some startup scripts not storing pid in files
Attached to Project:
Arch Linux
Opened by Alex Matviychuk (alexmat) - Friday, 05 August 2005, 04:25 GMT
Last edited by Judd Vinet (judd) - Wednesday, 24 August 2005, 22:49 GMT
Opened by Alex Matviychuk (alexmat) - Friday, 05 August 2005, 04:25 GMT
Last edited by Judd Vinet (judd) - Wednesday, 24 August 2005, 22:49 GMT
|
Details
For example, the crond startup script executes the following
code on startup:
echo $PID > /var/run/crond.pid but if I cat /var/run/crond.pid, there's nothing there. pidof -o %PPID /usr/sbin/crond > /var/run/crond.pid seems to work Some daemons like ntpd don't even store a pid in a file. This affects things like process monitoring programs. |
This task depends upon
dorph, mind fixing up ntp as well?
sorry bout the delay =/