c1acb35323825ac2e726f62a961a6d459b1a13fe
[monit-cn.git] / monit-cn / apache2.conf
1 # apache2 monit-cn template
2
3 check process apache2 with pidfile "/var/run/apache2.pid"
4         start program = "/etc/init.d/apache2 start"
5         stop program = "/etc/init.d/apache2 stop"
6         if failed host 127.0.0.1 port 80 protocol http
7                 with timeout 15 seconds
8                 then restart
9         if children > 250 then restart