checking config outputs a pid file

Cherife Li cherife at
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
to the check-config section of my rc file at the moment.


More information about the nginx mailing list