- check process apache2 with pidfile /var/run/apache2/apache2.pid
- group www
- start program = "/bin/systemctl start apache2"
- stop program = "/bin/systemctl stop apache2"
- if failed host localhost port 80 protocol http
- with timeout 10 seconds
- then restart
- if 5 restarts within 5 cycles then timeout
|