configuration-templates – Diff between revs 70 and 98
?pathlinks?
Rev 70 | Rev 98 | |||
---|---|---|---|---|
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 | # Debian tomcat-solr |
5 | # Debian tomcat-solr |
|
6 | check process tomcat8 with pidfile /var/run/tomcat8.pid |
6 | check process tomcat8 matching tomcat8 |
|
7 | start program "/etc/init.d/tomcat8 restart" |
7 | start program "/etc/init.d/tomcat8 restart" |
|
8 | stop program "/etc/init.d/tomcat8 stop" |
8 | stop program "/etc/init.d/tomcat8 stop" |
|
9 | if failed host 127.0.0.1 port 8983 type tcp then restart |
9 | if failed host 127.0.0.1 port 8983 type tcp then restart |
|
10 | # if 5 restarts within 5 cycles then timeout |
10 | # if 5 restarts within 5 cycles then timeout |
|
11 | |
11 | |