From 275044cd99984ab40ae9657a6980b86277fdb474 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Wed, 22 Jan 2014 13:36:05 +0100 Subject: [PATCH] Install init script in recursor .deb packages Debhelper then takes care of automatically starting/stopping pdns-recursor during upgrades. Fixes #1040. --- pdns/build-recursor | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/build-recursor b/pdns/build-recursor index 9515da7a04..d4517fe955 100755 --- a/pdns/build-recursor +++ b/pdns/build-recursor @@ -3,6 +3,7 @@ set -e cd pdns-recursor-$1 export DEBFULLNAME="Bert Hubert" dh_make -e bert.hubert@netherlabs.nl -s -f ../pdns-recursor-$1.tar.bz2 -p pdns-recursor_0.0-$1 < /dev/null +cp pdns-recursor.init.d debian/init.d #[ -e debian/control ] || dh_make -e bert.hubert@netherlabs.nl -s -r cdbs -f ../pdns-recursor-$1.tar.bz2 < /dev/null perl -i -pe 's/Description: <.*>/Description: extremely powerful and versatile recursing nameserver/' debian/control export LUA=1 -- 2.47.2