summaryrefslogtreecommitdiffstats
path: root/debian/apache2.monit
blob: 8a4c2942320b079edd7b598ee9902a3539d74fc0 (plain)
1
2
3
4
5
6
7
check process apache2 with pidfile /var/run/apache2.pid
   group www
   start program = "service apache2 start"
   stop  program = "service apache2 stop"
   if failed host localhost port 80 
        protocol HTTP request "/" then restart
   if 5 restarts within 5 cycles then timeout