summaryrefslogtreecommitdiff
path: root/net-dns/pdnsd/files/pdnsd.service
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/pdnsd/files/pdnsd.service')
-rw-r--r--net-dns/pdnsd/files/pdnsd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-dns/pdnsd/files/pdnsd.service b/net-dns/pdnsd/files/pdnsd.service
new file mode 100644
index 000000000000..d1812a53b384
--- /dev/null
+++ b/net-dns/pdnsd/files/pdnsd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=pdnsd private name-server cache daemon
+After=syslog.target network.target auditd.service
+ConditionPathExists=/etc/pdnsd/pdnsd.conf
+
+[Service]
+ExecStart=/usr/sbin/pdnsd -s -t
+ExecReload=/usr/sbin/pdnsd-ctl config
+
+[Install]
+WantedBy=multi-user.target