]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Install init script in recursor .deb packages 1224/head
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Wed, 22 Jan 2014 12:36:05 +0000 (13:36 +0100)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Wed, 22 Jan 2014 12:36:50 +0000 (13:36 +0100)
Debhelper then takes care of automatically starting/stopping
pdns-recursor during upgrades.

Fixes #1040.

pdns/build-recursor

index 9515da7a046729eac49f586dbbf8088a4724c979..d4517fe95576c2afa2f08f5f3a12165fe9473f55 100755 (executable)
@@ -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