-1

I am Using Ubuntu Server and would like to know if it's possible to automatically restart services that go unresponsive. I am operating a standard LAMP stack and occasionally vital services need to be restarted but I want to do it in a programmatic way.

Wesley
  • 33,060
chrisl-921fb74d
  • 1,065
  • 2
  • 13
  • 22

3 Answers3

1

To handle services that go into a crashed state, look at Munin and/or the Linux watchdog daemon.

Wesley
  • 33,060
0

Supervisord and along the same lines Mozilla Circus are also interesting plays.

slashdot
  • 651
0

You can try to use monit to do this.

adamo
  • 7,045