configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 159  →  ?path2? @ 160
/monit/debian/templates/i2p
@@ -2,7 +2,7 @@
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
 
check process i2p with pidfile /opt/i2p/i2p.pid
check process i2p with pidfile /run/i2p/i2p.pid
start program "/etc/init.d/i2p restart"
stop program "/etc/init.d/i2p stop"
# if 5 restarts within 5 cycles then timeout
# if 5 restarts within 5 cycles then timeout
/monit/debian/templates/opendmarc
@@ -5,6 +5,6 @@
check process opendmarc with pidfile /var/run/opendmarc/opendmarc.pid
start program "/etc/init.d/opendmarc start"
stop program "/etc/init.d/opendmarc stop"
if failed unixsocket /var/run/opendmarc/opendmarc.sock type tcp then restart
#if failed port 12345 type tcp then restart
#if failed unixsocket /var/run/opendmarc/opendmarc.sock type tcp then restart
if failed port 12345 type tcp then restart
# if 5 restarts within 5 cycles then timeout