瀏覽代碼

Merge pull request #263 from jplock/jp-fix-znc-monit

Fix monit ZNC monitoring
Luke Cyca 10 年之前
父節點
當前提交
6df7800d4e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      roles/monitoring/files/etc_monit_conf.d_znc

+ 2
- 2
roles/monitoring/files/etc_monit_conf.d_znc 查看文件

@@ -2,7 +2,7 @@ check process znc with pidfile /var/run/znc/znc.pid
2 2
   group irc
3 3
   start program = "/etc/init.d/znc start"
4 4
   stop program = "/etc/init.d/znc stop"
5
-  if failed host localhost port 6697 type tcpSSL protocol http
5
+  if failed host localhost port 6643 protocol http
6 6
     with timeout 10 seconds
7 7
     then restart
8
-  if 5 restarts within 5 cycles then timeout
8
+  if 5 restarts within 5 cycles then timeout

Loading…
取消
儲存