From: Michael Tremer Date: Sun, 9 Aug 2009 19:46:37 +0000 (+0200) Subject: pdns-recursor: Added new initscript. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d547888aa73f2bf64deb870875a534a359a2234;p=ipfire-3.x.git pdns-recursor: Added new initscript. --- diff --git a/lfs/pdns-recursor b/lfs/pdns-recursor index 3c1878e75..e8e0ef0ff 100644 --- a/lfs/pdns-recursor +++ b/lfs/pdns-recursor @@ -83,6 +83,7 @@ $(OBJECT): $(objects) make OPTFLAGS= PROFILEFLAGS=-fprofile-use #$(PARALLELISMFLAGS) cd $(DIR_APP) && make install + $(INSTALL_INITSCRIPT) rm -vf /etc/init.d/pdns_recursor @rm -rf $(DIR_APP) diff --git a/src/initscripts/extras/pdns-recursor.conf b/src/initscripts/extras/pdns-recursor.conf new file mode 100755 index 000000000..aaf1737a6 --- /dev/null +++ b/src/initscripts/extras/pdns-recursor.conf @@ -0,0 +1,9 @@ +description "Control the powerdns recursor" +author "IPFire Team" + +start on starting network +stop on stopped network + +exec /usr/sbin/pdns_recursor +expect fork +respawn