From: Dinko Korunic <kreator@carnet.hr>
Date: Wed, 30 Jun 2010 18:13:51 +0000 (+0200)
Subject: * revert #11630 promjene s obzirom na opet promijenjeni path u Debian
X-Git-Tag: v4.10.1.4^0
X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=refs%2Fheads%2Flenny;p=monit-cn.git

* revert #11630 promjene s obzirom na opet promijenjeni path u Debian
  paketu, te novi template bind9-oldlenny koji reflektira problematicne
  inacice Bind9 paketa
---

diff --git a/debian/changelog b/debian/changelog
index 837d136..2e1478f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+monit-cn (1:4.10.1.4) stable; urgency=low
+
+  * revert #11630 promjene s obzirom na opet promijenjeni path u Debian
+    paketu, te novi template bind9-oldlenny koji reflektira problematicne
+    inacice Bind9 paketa
+
+ -- Dinko Korunic <kreator@carnet.hr>  Wed, 30 Jun 2010 20:12:28 +0200
+
 monit-cn (1:4.10.1.3) stable; urgency=low
 
   * #11630: s obzirom na promijenjeni path u Bind9 confu za Lenny, promijenjen
diff --git a/debian/postinst b/debian/postinst
index 019d806..f43d933 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,5 +1,5 @@
 #!/bin/sh
-# postinst script for bind9-cn
+# postinst script for monit-cn
 #
 # see: dh_installdeb(1)
 
diff --git a/debian/postrm b/debian/postrm
index 1be4eb9..f50d277 100755
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,5 +1,5 @@
 #!/bin/sh
-# postrm script for bind9-cn
+# postrm script for monit-cn
 #
 # see: dh_installdeb(1)
 
diff --git a/monit-cn/bind9-lennyold.conf b/monit-cn/bind9-lennyold.conf
new file mode 100644
index 0000000..ca13048
--- /dev/null
+++ b/monit-cn/bind9-lennyold.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 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
diff --git a/monit-cn/bind9.conf b/monit-cn/bind9.conf
index ca13048..92e76f1 100644
--- a/monit-cn/bind9.conf
+++ b/monit-cn/bind9.conf
@@ -5,7 +5,7 @@
 #
 ## End - Generated by CARNet package monit-cn
 
-check process bind with pidfile "/var/run/bind/run/named/named.pid"
+check process bind with pidfile "/var/run/bind/run/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