diff options
Diffstat (limited to 'extra/quagga/zebra.service')
-rw-r--r-- | extra/quagga/zebra.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/quagga/zebra.service b/extra/quagga/zebra.service new file mode 100644 index 000000000..02813c37c --- /dev/null +++ b/extra/quagga/zebra.service @@ -0,0 +1,16 @@ +[Unit] +Description=GNU Zebra routing manager +Documentation=man:zebra(8) +After=network.target +ConditionPathExists=/etc/quagga/zebra.conf + +[Service] +Type=forking +PIDFile=/run/quagga/zebra.pid +ExecStartPre=/sbin/ip route flush proto zebra +ExecStart=/usr/bin/zebra -d +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort + +[Install] +WantedBy=multi-user.target |