summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil <func@mailzilla.com>2009-03-05 15:28:44 -0500
committerAdrian Likins <alikins@redhat.com>2009-03-05 15:28:44 -0500
commitfe0312d51aed3602354f61de94042af653907075 (patch)
tree7a571431cdb46633e0c47c896be9d65b6cd8ae7d
parent919c9c3a4f5418b55108c1ec903160f0400900df (diff)
downloadcertmaster-fe0312d51aed3602354f61de94042af653907075.zip
certmaster-fe0312d51aed3602354f61de94042af653907075.tar.gz
certmaster-fe0312d51aed3602354f61de94042af653907075.tar.xz
add a monit configuration file
-rw-r--r--contrib/monit/certmaster6
1 files changed, 6 insertions, 0 deletions
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
+