* Dodane nove template konfiguracije za nginx, nsd3 i rsyslogd
[monit-cn.git] / monit-cn / thttpd.conf
index 7f5d98d..27dfdce 100644 (file)
@@ -1,9 +1,13 @@
-# thttpd monit-cn template
+## Begin - Generated by CARNet package monit-cn
+#
+#  This is a monit-cn template file.  REMOVE this whole comment block if
+#  you DON'T WANT monit-cn to edit/remove/delete your configuration file.
+#
+## End - Generated by CARNet package monit-cn
 
 check process thttpd with pidfile "/var/run/thttpd.pid"
        start program = "/etc/init.d/thttpd start"
        stop program = "/etc/init.d/thttpd stop"
-       if failed host 127.0.0.1 port 80
+       if failed host 127.0.0.1 port 80 protocol http
                with timeout 15 seconds
                then restart
-       if children > 100 then restart