summaryrefslogtreecommitdiff
path: root/community/quagga/zebra.service
blob: 02813c37c3de51a8a692274ccfd9188b02b8fcd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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