r13: - add postgrey + asterisk
[monit-cn.git] / monit-cn / postgrey.conf
diff --git a/monit-cn/postgrey.conf b/monit-cn/postgrey.conf
new file mode 100644 (file)
index 0000000..2b939f0
--- /dev/null
@@ -0,0 +1,8 @@
+# postgrey monit-cn template
+
+check process postgrey with pidfile "/var/run/postgrey.pid"
+    group mail
+       start program = "/etc/init.d/postgrey start"
+       stop program = "/etc/init.d/postgrey stop"
+       if failed host 127.0.0.1 port 60000 type tcp
+               then restart