diff options
Diffstat (limited to 'monit/znc.conf')
| -rw-r--r-- | monit/znc.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/monit/znc.conf b/monit/znc.conf new file mode 100644 index 0000000..b4c4d4d --- /dev/null +++ b/monit/znc.conf @@ -0,0 +1,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 |
