From fe0312d51aed3602354f61de94042af653907075 Mon Sep 17 00:00:00 2001 From: Phil Date: Thu, 5 Mar 2009 15:28:44 -0500 Subject: [PATCH] add a monit configuration file --- contrib/monit/certmaster | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 contrib/monit/certmaster 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 + -- 2.39.5