summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-09-28 18:12:51 +0000
committerMike Gilbert <floppym@gentoo.org>2014-09-28 18:12:51 +0000
commite8c334ca0cc35b18f2cf5442173afc654c08ddd6 (patch)
tree78938f5f28c22a991b41e6f9bddfb0f3a9ec736a /net-dns/nsd/files
parentnet-analyzer/openvas-scanner: Import fedora patches (diff)
downloadgentoo-2-e8c334ca0cc35b18f2cf5442173afc654c08ddd6.tar.gz
gentoo-2-e8c334ca0cc35b18f2cf5442173afc654c08ddd6.tar.bz2
gentoo-2-e8c334ca0cc35b18f2cf5442173afc654c08ddd6.zip
Version bumps, remove old. Install systemd unit, bug 522290. Move user creation to pkg_postinst for improved binpkg handling.
(Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'net-dns/nsd/files')
-rw-r--r--net-dns/nsd/files/nsd.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-dns/nsd/files/nsd.service b/net-dns/nsd/files/nsd.service
new file mode 100644
index 000000000000..8337557faeef
--- /dev/null
+++ b/net-dns/nsd/files/nsd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=NSD authoritative DNS server
+Wants=network.target
+After=network.target
+
+[Service]
+Type=forking
+ExecStartPre=/usr/bin/install -d -o nsd -g nsd /run/nsd
+ExecStart=/usr/sbin/nsd
+KillMode=mixed
+PIDFile=/run/nsd/nsd.pid
+
+[Install]
+WantedBy=multi-user.target