configuration-templates
/monit/debian/templates/solr |
---|
@@ -3,7 +3,7 @@ |
########################################################################### |
# Debian tomcat-solr |
check process tomcat8 with pidfile /var/run/tomcat8.pid |
check process tomcat8 matching tomcat8 |
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 |