X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=monit-cn%2Fpdns.conf;fp=monit-cn%2Fpdns.conf;h=1f8d8e2edd3b2320143d41b9ca190beb4fcb4b80;hb=66ee787365d107b57bfe7948a298258c8b7651aa;hp=0000000000000000000000000000000000000000;hpb=d4fd8e87f039d69977770117ec5d32eb8c750231;p=monit-cn.git diff --git a/monit-cn/pdns.conf b/monit-cn/pdns.conf new file mode 100644 index 0000000..1f8d8e2 --- /dev/null +++ b/monit-cn/pdns.conf @@ -0,0 +1,14 @@ +## 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 pdns with pidfile "/var/run/pdns.pid" + start program = "/etc/init.d/pdns start" + stop program = "/etc/init.d/pdns stop" + #if failed host 127.0.0.1 port 53 type tcp + # then restart + #if failed host 127.0.0.1 port 53 type udp + # then restart