monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tomcat and Monit


From: Charles Pino
Subject: Tomcat and Monit
Date: Tue, 19 Mar 2013 22:22:58 +0800

Hello all,
 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
then start


reply via email to

[Prev in Thread] Current Thread [Next in Thread]