configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 69  →  ?path2? @ 70
/monit/debian/templates/solr
@@ -0,0 +1,10 @@
###########################################################################
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
 
# Debian tomcat-solr
check process tomcat8 with pidfile /var/run/tomcat8.pid
start program "/etc/init.d/tomcat8 restart"
stop program "/etc/init.d/tomcat8 stop"
if failed host 127.0.0.1 port 8983 type tcp then restart
# if 5 restarts within 5 cycles then timeout
/monit/debian/templates/tika
@@ -0,0 +1,9 @@
###########################################################################
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
 
check process tika with pidfile /var/run/tika.pid
start program "/etc/init.d/tika restart"
stop program "/etc/init.d/tika stop"
if failed host 127.0.0.1 port 9998 type tcp then restart
# if 5 restarts within 5 cycles then timeout