summaryrefslogtreecommitdiff
path: root/community/pdns/pdns.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-09 01:24:21 -0800
committerroot <root@rshg054.dnsready.net>2012-11-09 01:24:21 -0800
commitc865fc041a0945e396f139a86315f6a25b1d4dec (patch)
tree95e232fb3fc00a803572f8e58af5b08d55ca070f /community/pdns/pdns.service
parente5f99abe2484d8fdfd1b2d57ba2233e027e9b64c (diff)
Fri Nov 9 01:24:21 PST 2012
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..1005c9f64
--- /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/sbin/pdns_server --daemon --guardian=yes
+ExecReload=/usr/bin/pdns_control cycle
+ExecStop=/usr/bin/pdns_control quit
+
+[Install]
+WantedBy=multi-user.target