- check process znc with pidfile /var/run/znc/znc.pid
- group social
- start program = "/bin/systemctl start znc"
- stop program = "/bin/systemctl stop znc"
- if failed port 6643 type tcp
- with timeout 10 seconds
- then restart
- if 5 restarts within 5 cycles then timeout
|