Dear All,
            I have this script as below. My problem is that if it stop I
need to restart the application but I got separate script to install and
start it. So how to feed both into the start program? Thank you.

check process cs9000 with pidfile /var/run/wrappercs9000.pid # check your
app pid

  start program  =
  stop program  =
 if failed port 9000    # if you want to check your app that listen on port
9000
    then
    restart
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to