diff options
| author | My Name | 2014-12-11 00:47:01 +0100 |
|---|---|---|
| committer | My Name | 2014-12-11 00:47:01 +0100 |
| commit | dd9a6048bb109494072d94281701ad9734d2b275 (patch) | |
| tree | 116e23217a56169d55c1fae19ddc65b47fac6737 /monit/znc.conf | |
| parent | 510493a04ccf84b301a271b56687ecf729b2c61a (diff) | |
| download | dotfiles-dd9a6048bb109494072d94281701ad9734d2b275.tar.gz | |
Added ZNC init + monit script, rtorrent + zabbix-server monit config and fixed typos
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 |
