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 localhoststop program = "/sbin/service tomcat
stop"start program = "/sbin/service tomcat start"if failed port 8080 and
protocol httpthen start
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general