how to automatically restart failed Apache?

2 posts / 0 new
Last post
#1 Tue, 09/21/2010 - 19:11
SoftDux

how to automatically restart failed Apache?

Hi all,

Apache keeps failing from time to time on one of my VPS's. How do I configure VirtualMin to automatically restart Apache when needed?

Mon, 09/27/2010 - 14:26
andreychek

Howdy,

If you're using the Status Monitoring, you can set this up by going into Webmin -> Others -> System and Server Status, choose "Apache Webserver", then set the commands for "Commands to run".

In particular, you'd want to set "If monitor goes down, run command" to run the script that launches Apache on your server.

-Eric

Topic locked