From 48537791e03e02cfd8e64e1d9fbb246f827f4fb7 Mon Sep 17 00:00:00 2001 From: Dinko Korunic Date: Wed, 30 Jun 2010 20:13:51 +0200 Subject: [PATCH] * revert #11630 promjene s obzirom na opet promijenjeni path u Debian paketu, te novi template bind9-oldlenny koji reflektira problematicne inacice Bind9 paketa --- debian/changelog | 8 ++++++++ debian/postinst | 2 +- debian/postrm | 2 +- monit-cn/bind9-lennyold.conf | 14 ++++++++++++++ monit-cn/bind9.conf | 2 +- 5 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 monit-cn/bind9-lennyold.conf 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 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 -- 1.7.10.4