configuration-templates – Diff between revs 35 and 116

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 35 Rev 116
Line 1... Line 1...
1 ########################################################################### 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## 2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ########################################################################### 3 ###########################################################################
Line 4... Line 4...
4   4  
5 check process tomcat with pidfile /var/run/tomcat.pid 5 check process tomcat8 with pidfile /var/run/tomcat8.pid
6 start program = "/etc/init.d/tomcat start" 6 start program = "/etc/init.d/tomcat8 start"
7 as uid nobody and gid nobody 7 # as uid nobody and gid nobody
8 stop program = "/etc/init.d/tomcat stop" 8 stop program = "/etc/init.d/tomcat8 stop"
9 # You can also use id numbers instead and write: -  
10 as uid 99 and with gid 99 -  
11 if failed port 8080 then alert 9 # You can also use id numbers instead and write:
-   10 # as uid 99 and with gid 99
-   11 if failed port 8080 then alert