configuration-templates – Diff between revs 35 and 116

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 35 Rev 116
1 ########################################################################### 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## 2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ########################################################################### 3 ###########################################################################
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
12   12  
13
Generated by GNU Enscript 1.6.5.90.
-  
14   -  
15   -  
16   -