add a monit configuration file
[certmaster.git] / contrib / monit / certmaster
1 check process certmaster with pidfile /var/run/certmaster.pid
2 start program = "/etc/init.d/certmaster start"
3 stop program = "/etc/init.d/certmaster stop"
4 if failed host 127.0.0.1 port 51235 type tcp then restart
5 if 5 restarts within 5 cycles then timeout
6