a guest Apr 23rd, 2019 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- check process tomcat with pidfile /home/listtee/tomcat/tomcat_pid
- start program = "/home/listtee/scripts/startTomcat.sh"
- as uid "listtee" and gid "listtee"
- stop program = "/home/listtee/scripts/stopTomcat.sh"
- # You can also use id numbers instead and write:
- as uid 1001 and with gid 1001
- if failed port 8080 then restart
- if failed
- port 80
- protocol http
- request "/admin/api/j_spring_security_logout"
- status = 200
- for 5 cycles then restart
RAW Paste Data