configuration-templates – Rev 147
?pathlinks?
###########################################################################
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
check process elasticsearch with pidfile /var/run/elasticsearch/elasticsearch.pid
start program "/bin/systemctl start elasticsearch"
stop program "/bin/systemctl stop elasticsearch"
if failed port 9200 type tcp then restart
# if 5 restarts within 5 cycles then timeout