add a monit configuration file
authorPhil <func@mailzilla.com>
Thu, 5 Mar 2009 20:28:44 +0000 (15:28 -0500)
committerAdrian Likins <alikins@redhat.com>
Thu, 5 Mar 2009 20:28:44 +0000 (15:28 -0500)
contrib/monit/certmaster [new file with mode: 0644]

diff --git a/contrib/monit/certmaster b/contrib/monit/certmaster
new file mode 100644 (file)
index 0000000..009c470
--- /dev/null
@@ -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
+