X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=monit-cn%2Ftomcat7.conf;h=804240fc58994fe1a8f7de7e382d00058cff38e5;hb=317af615e8d11786396d3006afc91bfb19dddd69;hp=b0f02b24d84d5a50bacdab5901eaf608e85d506f;hpb=ee0772bec2e346af5c73ee581300805779e84c8f;p=monit-cn.git diff --git a/monit-cn/tomcat7.conf b/monit-cn/tomcat7.conf index b0f02b2..804240f 100644 --- a/monit-cn/tomcat7.conf +++ b/monit-cn/tomcat7.conf @@ -8,7 +8,7 @@ check process tomcat7 with pidfile "/var/run/tomcat7.pid" start program = "/etc/init.d/tomcat7 start" stop program = "/etc/init.d/tomcat7 stop" - if failed host 127.0.0.1 port 8081 protocol http + if failed host 127.0.0.1 port 8080 protocol http with timeout 15 seconds then restart if children > 250 then restart