configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 157  →  ?path2? @ 158
/monit/debian/templates/puppet-master
@@ -3,6 +3,7 @@
###########################################################################
 
check process puppet-master with pidfile /var/run/puppet/master.pid
start program "/bin/systemctl start puppet-master"
stop program "/etc/init.d/ssh stop puppet-master"
start program "/bin/systemctl start puppet-master.service"
stop program "/bin/systemctl stop puppet-master.service"
#if failed host 127.0.0.1 port 8140 type tcp then restart
# if 5 restarts within 5 cycles then timeout
/monit/debian/templates/rngd
@@ -0,0 +1,9 @@
###########################################################################
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
 
check process rngd with pidfile /run/rngd-onerng0.pid
start program "/bin/systemctl start rng-tools@onerng0.service"
stop program "/bin/systemctl stop rng-tools@onerng0.service"
#if failed host 127.0.0.1 port 9050 type tcp then restart
# if 5 restarts within 5 cycles then timeout