| check process apache2 with pidfile /var/run/apache2.pid | |
| group www-data | |
| start program = "/etc/init.d/apache2 start" | |
| stop program = "/etc/init.d/apache2 stop" | |
| if children > 250 then restart | |
| if loadavg(5min) greater than 10 for 8 cycles then stop | |
| if 3 restarts within 5 cycles then timeout | |
| check process mumble-server with pidfile /var/run/mumble-server.pid | |
| group mumble-server | |
| start program = "/etc/init.d/mumble-server start" | |
| stop program = "/etc/init.d/mumble-server stop" | |
| if failed port 64738 type tcp then restart | |
| if 5 restarts within 5 cycles then timeout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment