I made the following (admittedly lame) change to the PID search in
/etc/init.d/thttpd on my Debian Etch system:

     if ps ax | grep "$PID" | grep -qv grep; then

This successfully determines if there is a running instance of thttpd
using the PID recorded in the pidfile.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to