summarylogtreecommitdiffstats
path: root/ospfd.service
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd.service')
-rw-r--r--ospfd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/ospfd.service b/ospfd.service
new file mode 100644
index 00000000000..e43c474ccd3
--- /dev/null
+++ b/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