diff options
author | Phil <func@mailzilla.com> | 2009-03-05 15:28:44 -0500 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2009-03-05 15:28:44 -0500 |
commit | fe0312d51aed3602354f61de94042af653907075 (patch) | |
tree | 7a571431cdb46633e0c47c896be9d65b6cd8ae7d | |
parent | 919c9c3a4f5418b55108c1ec903160f0400900df (diff) | |
download | certmaster-fe0312d51aed3602354f61de94042af653907075.tar.gz certmaster-fe0312d51aed3602354f61de94042af653907075.tar.xz certmaster-fe0312d51aed3602354f61de94042af653907075.zip |
add a monit configuration file
-rw-r--r-- | contrib/monit/certmaster | 6 |
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 + |