summaryrefslogtreecommitdiff
path: root/community/quagga/zebra.service
blob: c8707083ee9fb2d7f5a4bc0baae061aeae9655bb (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/sbin/zebra -d
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-abort

[Install]
WantedBy=multi-user.target