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