]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
pdns-recursor: Added new initscript.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 9 Aug 2009 19:46:37 +0000 (21:46 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 9 Aug 2009 19:46:37 +0000 (21:46 +0200)
lfs/pdns-recursor
src/initscripts/extras/pdns-recursor.conf [new file with mode: 0755]

index 3c1878e75f6bb10acae19af84f986256a5a79c0d..e8e0ef0ff31dbd03e4ad1f58e4c9b154a18c2dfe 100644 (file)
@@ -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 (executable)
index 0000000..aaf1737
--- /dev/null
@@ -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