r3: - new conffiles
[monit-cn.git] / monit-cn / apache1.conf
diff --git a/monit-cn/apache1.conf b/monit-cn/apache1.conf
new file mode 100644 (file)
index 0000000..f2902d6
--- /dev/null
@@ -0,0 +1,9 @@
+# apache monit-cn template
+
+check process apache with pidfile "/var/run/apache.pid"
+       start program = "/etc/init.d/apache start"
+       stop program = "/etc/init.d/apache stop"
+       if failed host 127.0.0.1 port 80 protocol http
+               with timeout 15 seconds
+               then restart
+       if children > 250 then restart