]> granicus.if.org Git - pdns/commitdiff
how to add powerdns recursor to upstart
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 10 Sep 2014 05:28:01 +0000 (07:28 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 10 Sep 2014 05:28:01 +0000 (07:28 +0200)
contrib/upstart-recursor.conf [new file with mode: 0644]

diff --git a/contrib/upstart-recursor.conf b/contrib/upstart-recursor.conf
new file mode 100644 (file)
index 0000000..d1b9c00
--- /dev/null
@@ -0,0 +1,9 @@
+# recursor - the PowerDNS Recursor
+# for in /etc/init/recursor.conf
+description "PowerDNS Recursor"
+
+start on runlevel [2345]
+stop on runlevel [!2345]
+respawn
+
+exec /usr/sbin/pdns_recursor --daemon=no