92e76f10330c575ccf7f4ad335c255a2e8a5331d
[monit-cn.git] / monit-cn / bind9.conf
1 ## Begin - Generated by CARNet package monit-cn
2 #
3 #  This is a monit-cn template file.  REMOVE this whole comment block if
4 #  you DON'T WANT monit-cn to edit/remove/delete your configuration file.
5 #
6 ## End - Generated by CARNet package monit-cn
7
8 check process bind with pidfile "/var/run/bind/run/named.pid"
9         start program = "/etc/init.d/bind9 start"
10         stop program = "/etc/init.d/bind9 stop"
11         if failed host 127.0.0.1 port 53 type tcp
12                 then restart
13         if failed host 127.0.0.1 port 53 type udp
14                 then restart