Many OS's will auto-restart services on failure.
Have you searched for solutions to this issue ?
A few seconds of search reveals these discussions/offerings that may be helpful:
http://serverfault.com/questions/310902/automatically-restart-crashed-apache-server
http://serverfault.com/questions/237191/how-to-automatically-restart-apache-service-after-http-503-error
http://stackoverflow.com/questions/2168518/bash-script-to-restart-apache-automatically.
...it is unhealthy to remain near things that are in the process of blowing up. man page for WARP, by Larry Wall
In reply to Re: Apache restart
by NetWallah
in thread Apache restart
by perNewuser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |