configuration-templates – Diff between revs 29 and 31
?pathlinks?
Rev 29 | Rev 31 | |||
---|---|---|---|---|
Line -... | Line 1... | |||
- | 1 | ########################################################################### |
||
- | 2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
- | 3 | ########################################################################### |
||
- | 4 | |
||
1 | check process jetty8 with pidfile /var/run/jetty8.pid |
5 | check process jetty8 with pidfile /var/run/jetty8.pid |
|
2 | start program = "/etc/init.d/jetty8 start" |
6 | start program = "/etc/init.d/jetty8 start" |
|
3 | stop program = "/etc/init.d/jetty8 stop" |
7 | stop program = "/etc/init.d/jetty8 stop" |
|
4 | if failed host localhost port 8983 then restart |
8 | if failed host localhost port 8983 then restart |
|
5 | # if 5 restarts within 5 cycles then alert |
9 | # if 5 restarts within 5 cycles then alert |
|
6 | |
10 | |