40e57b36aada5ea90afed7bfcfaeee034e60e0b5
[monit-cn.git] / monit-cn / bind9.conf
1 # bind9 monit-cn template
2
3 check process bind with pidfile "/var/run/bind/run/named.pid"
4         start program = "/etc/init.d/bind9 start"
5         stop program = "/etc/init.d/bind9 stop"
6         if failed host 127.0.0.1 port 53 type tcp
7                 then restart
8         if failed host 127.0.0.1 port 53 type udp
9                 then restart