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.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/quagga/zebra.service b/community/quagga/zebra.service
new file mode 100644
index 000000000..e0f87f9bc
--- /dev/null
+++ b/community/quagga/zebra.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=GNU Zebra routing manager
+After=network.target
+ConditionPathExists=/etc/quagga/zebra.conf
+
+[Service]
+ExecStartPre=/sbin/ip route flush proto zebra
+ExecStart=/usr/sbin/zebra
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target