summaryrefslogtreecommitdiff
path: root/community/pdns/pdns.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/pdns/pdns.service')
-rw-r--r--community/pdns/pdns.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/pdns/pdns.service b/community/pdns/pdns.service
new file mode 100644
index 000000000..b544ba73e
--- /dev/null
+++ b/community/pdns/pdns.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=PowerDNS Authorative Server
+After=syslog.target network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/pdns_server --daemon --guardian=yes
+ExecReload=/usr/bin/pdns_control cycle
+ExecStop=/usr/bin/pdns_control quit
+
+[Install]
+WantedBy=multi-user.target