summaryrefslogtreecommitdiff
path: root/monit/znc.conf
blob: b4c4d4db546cabdfa6603f61d3cc3b9073b95fa0 (plain)
1
2
3
4
5
check process ZNC with pidfile /var/run/znc.pid
        start program = "/etc/init.d/znc start"
        stop program = "/etc/init.d/znc stop"
        if failed host localhost port 9999 then restart
        if 5 restarts within 5 cycles then timeout