|Subject:||Tomcat and Monit|
|Date:||Tue, 19 Mar 2013 22:22:58 +0800|
i have a current Monit config that simply restarts Tomcat if it quits, but it seems that i am having multiple Tomcat PIDs whenever Monit restarts the service. my question would be.
1.] how do i kill or make sure the PID is killed before i execute the restarting of the service?
i have this right now
check host tomcat with address localhost
stop program = "/sbin/service tomcat stop"
start program = "/sbin/service tomcat start"
if failed port 8080 and protocol http
|[Prev in Thread]||Current Thread||[Next in Thread]|