r1: [svn-inject] Installing original source of monit-cn
[monit-cn.git] / monit-cn / tomcat5.conf
1 # tomcat5 monit-cn template
2
3 check process tomcat5 with pidfile "/usr/share/tomcat5/temp/tomcat5.pid"
4         start program = "/etc/init.d/tomcat5 start"
5         stop program = "/etc/init.d/tomcat5 stop"
6         if failed host 127.0.0.1 port 8081 protocol http
7                 with timeout 15 seconds
8                 then restart
9         if children > 250 then restart
10