I have a VPS host that every once in a while (I'm talking 3-4 weeks, maybe) will briefly kill apache to test problems on the box. For some reason, their CPanel customers come back right away when they're done testing, but people like me who didn't want to pay 9.95/mo extra for CPanel are left to notice my site is down and go in and restart it myself.
Barring the obvious (changing VPS hosts), is there a script to run that will check on, say, 5 minute intervals to see if apache has been stopped, and if it has, to restart it?
I'm running CentOS.