nginx dead but pid file exists

nnttoo nginx-forum at
Sat Oct 20 11:36:22 UTC 2012

Can I create a sh file that checks the status of nginx and run it with cron
job? if nginx status becomes "dead", then the sh file is going to restart
nginx. if it can, how to sample his sh file? and how examples of "cron job"?

Posted at Nginx Forum:,232050,232054#msg-232054

More information about the nginx mailing list