summaryrefslogtreecommitdiff
path: root/community/quagga/zebra.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/quagga/zebra.service')
-rw-r--r--community/quagga/zebra.service8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/quagga/zebra.service b/community/quagga/zebra.service
index 0bba03972..c8707083e 100644
--- a/community/quagga/zebra.service
+++ b/community/quagga/zebra.service
@@ -1,11 +1,15 @@
[Unit]
Description=GNU Zebra routing manager
+Documentation=man:zebra(8)
After=network.target
ConditionPathExists=/etc/quagga/zebra.conf
[Service]
-ExecStartPre=/usr/sbin/ip route flush proto zebra
-ExecStart=/usr/sbin/zebra
+Type=forking
+PIDFile=/run/quagga/zebra.pid
+ExecStartPre=/sbin/ip route flush proto zebra
+ExecStart=/usr/sbin/zebra -d
+ExecReload=/bin/kill -HUP $MAINPID
Restart=on-abort
[Install]