Script to automatically restart apache service
Hello All,
I need a script/command which will execute automatically when the apache service is down.
Actually, I want to prevent server for being down due to apache downtime and I want that apache should be restarted automatically.
Can anyone help me in this regard.
-
CPanel already monitors the Apache service and tries to restart if down via the taliwatchd system. Click on service manager in WHM and verify the enabled and monitored boxes are checked. 0 -
Hello @jamshed_11946, Apache is one of the services you can enable monitoring for via WHM >> Service Manager: Service Manager - Version 78 Documentation - cPanel Documentation Can you confirm if you're looking for a plugin or third-party software that extended the functionality of this feature? Thank you. 0
Please sign in to leave a comment.
Comments
2 comments