f324f5331d2be2a5b043a03610c35533988cf234
[monit-cn.git] / monit-cn / bind8.conf
1 # bind8 monit-cn template
2
3 check process bind with pidfile "/var/run/named.pid"
4         start program = "/etc/init.d/bind start"
5         stop program = "/etc/init.d/bind 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