From: Phil Date: Thu, 5 Mar 2009 20:28:44 +0000 (-0500) Subject: add a monit configuration file X-Git-Tag: v0.25~11 X-Git-Url: https://pwan.org/git/?a=commitdiff_plain;h=fe0312d51aed3602354f61de94042af653907075;p=certmaster.git add a monit configuration file --- diff --git a/contrib/monit/certmaster b/contrib/monit/certmaster new file mode 100644 index 0000000..009c470 --- /dev/null +++ b/contrib/monit/certmaster @@ -0,0 +1,6 @@ +check process certmaster with pidfile /var/run/certmaster.pid + start program = "/etc/init.d/certmaster start" + stop program = "/etc/init.d/certmaster stop" + if failed host 127.0.0.1 port 51235 type tcp then restart + if 5 restarts within 5 cycles then timeout +