Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement