configuration-templates – Blame information for rev 35
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
35 | office | 1 | ########################################################################### |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
3 | ########################################################################### |
||
4 | |||
5 | check process tomcat with pidfile /var/run/tomcat.pid |
||
6 | start program = "/etc/init.d/tomcat start" |
||
7 | as uid nobody and gid nobody |
||
8 | stop program = "/etc/init.d/tomcat 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 |