summaryrefslogtreecommitdiff
path: root/community/quagga/ospfd.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/quagga/ospfd.service')
-rw-r--r--community/quagga/ospfd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/quagga/ospfd.service b/community/quagga/ospfd.service
new file mode 100644
index 000000000..e43c474cc
--- /dev/null
+++ b/community/quagga/ospfd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=OSPF routing daemon
+Documentation=man:ospfd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/ospfd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/ospfd.pid
+ExecStart=/usr/bin/ospfd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target