X-Git-Url: https://pwan.org/git/?p=certmaster.git;a=blobdiff_plain;f=contrib%2Fmonit%2Fcertmaster;fp=contrib%2Fmonit%2Fcertmaster;h=009c470d92a6ba204ec9166f80e1f8a761d16caf;hp=0000000000000000000000000000000000000000;hb=fe0312d51aed3602354f61de94042af653907075;hpb=919c9c3a4f5418b55108c1ec903160f0400900df 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 +