* revert #11630 promjene s obzirom na opet promijenjeni path u Debian
[monit-cn.git] / monit-cn / bind9-lennyold.conf
diff --git a/monit-cn/bind9-lennyold.conf b/monit-cn/bind9-lennyold.conf
new file mode 100644 (file)
index 0000000..ca13048
--- /dev/null
@@ -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 bind with pidfile "/var/run/bind/run/named/named.pid"
+       start program = "/etc/init.d/bind9 start"
+       stop program = "/etc/init.d/bind9 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