SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 114 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. check process tomcat with pidfile /home/listtee/tomcat/tomcat_pid
  2.        start program = "/home/listtee/scripts/startTomcat.sh"
  3.              as uid "listtee" and gid "listtee"
  4.        stop program  = "/home/listtee/scripts/stopTomcat.sh"
  5.              # You can also use id numbers instead and write:
  6.              as uid 1001 and with gid 1001
  7.        if failed port 8080 then restart
  8.        if failed
  9.             port 80
  10.             protocol http
  11.             request "/admin/api/j_spring_security_logout"
  12.             status = 200
  13.         for 5 cycles then restart
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top