checking config outputs a pid file

Cherife Li cherife at dotimes.com
Tue May 27 07:53:45 MSD 2008


Hi all,

Has anyone noticed that `nginx -t' outputs an empty pid file while the 
nginx process isn't running.

I can only add
   if [ ! -s $PID ]; then
     rm -f $PID
   fi
to the check-config section of my rc file at the moment.

-- 
Rgds,
Cherife.





More information about the nginx mailing list