From: Christian Hofstaedtler Date: Wed, 22 Jan 2014 12:36:05 +0000 (+0100) Subject: Install init script in recursor .deb packages X-Git-Tag: rec-3.6.0-rc1~226^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1224%2Fhead;p=thirdparty%2Fpdns.git Install init script in recursor .deb packages Debhelper then takes care of automatically starting/stopping pdns-recursor during upgrades. Fixes #1040. --- 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