- check process znc with pidfile /var/run/znc/znc.pid
- group irc
- start program = "systemctl start znc"
- stop program = "systemctl stop znc"
- if failed host localhost port 6643 protocol http
- with timeout 10 seconds
- then restart
- if 5 restarts within 5 cycles then timeout
|