configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 158  →  ?path2? @ 159
/monit/debian/templates/php7.4-fpm
@@ -0,0 +1,8 @@
###########################################################################
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
 
check process php7.4-fpm with pidfile /var/run/php/php7.4-fpm.pid
start program = "/bin/systemctl start php7.4-fpm"
stop program = "/bin/systemctl stop php7.4-fpm"
# if 5 restarts within 5 cycles then timeout
/monit/debian/templates/sphinxsearch
@@ -2,8 +2,8 @@
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
 
check process sphinxsearch with pidfile /var/run/sphinxsearch/searchd.pid
start program = "/etc/init.d/sphinxsearch start"
stop program = "/etc/init.d/sphinxsearch stop"
check process sphinxsearch with pidfile /var/www/grimore.org/data/sphinxsearch/searchd.pid
start program = "/bin/systemctl start sphinx-searchd-grimore"
stop program = "/bin/systemctl stop sphinx-searchd-grimore"
if failed port 9312 then restart
# if 5 restarts within 5 cycles then timeout
/monit/debian/templates/verdaccio
@@ -2,8 +2,8 @@
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
 
check process verdaccio with pidfile /var/run/verdaccio.pid
start program "/etc/init.d/verdaccio restart"
stop program "/etc/init.d/verdaccio stop"
check process verdaccio matching verdaccio
start program "/bin/systemctl start verdaccio"
stop program "/bin/systemctl stop verdaccio"
if failed host 127.0.0.1 port 4873 type tcp then restart
# if 5 restarts within 5 cycles then timeout