summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2017-03-01 20:32:15 +0300
committerSergey Popov <pinkbyte@gentoo.org>2017-03-01 20:33:10 +0300
commitfb323ee9e376dd87e33d19b53fe8ab6a0a6c607a (patch)
tree5084092d352a5f6dc2cd4e77b21511701818d750 /net-misc/quagga/files
parentnet-misc/quagga: drop non-used systemd service file (diff)
downloadgentoo-fb323ee9e376dd87e33d19b53fe8ab6a0a6c607a.tar.gz
gentoo-fb323ee9e376dd87e33d19b53fe8ab6a0a6c607a.tar.bz2
gentoo-fb323ee9e376dd87e33d19b53fe8ab6a0a6c607a.zip
net-misc/quagga: version bump
Package-Manager: portage-2.3.3
Diffstat (limited to 'net-misc/quagga/files')
-rw-r--r--net-misc/quagga/files/systemd/nhrpd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/quagga/files/systemd/nhrpd.service b/net-misc/quagga/files/systemd/nhrpd.service
new file mode 100644
index 000000000000..d6b3e67db776
--- /dev/null
+++ b/net-misc/quagga/files/systemd/nhrpd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=NHRP daemon
+Documentation=man:nhrpd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/nhrpd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/nhrpd.pid
+ExecStart=/usr/sbin/nhrpd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target