X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=monit-cn%2Fpostgrey.conf;fp=monit-cn%2Fpostgrey.conf;h=2b939f04d77f4c8dd4a18e59cec3a7719aae2d1a;hb=ddff8b45ab496434fe4e4b510f3b364d32c6bb52;hp=0000000000000000000000000000000000000000;hpb=2d8499aec085db578ddf5b422f21ff356ee66391;p=monit-cn.git diff --git a/monit-cn/postgrey.conf b/monit-cn/postgrey.conf new file mode 100644 index 0000000..2b939f0 --- /dev/null +++ b/monit-cn/postgrey.conf @@ -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