]> git.sommitrealweird.co.uk Git - quagga-debian.git/blob - redhat/zebra.service
f9107f1e28a16bc5545ea2b0291042956938c0d9
[quagga-debian.git] / redhat / zebra.service
1 [Unit]
2 Description=GNU Zebra routing manager
3 Wants=network.target
4 Before=network.target
5 After=network-pre.target
6 ConditionPathExists=/etc/quagga/zebra.conf
7
8 [Service]
9 Type=forking
10 EnvironmentFile=-/etc/sysconfig/quagga
11 ExecStartPre=/sbin/ip route flush proto zebra
12 ExecStart=/usr/sbin/zebra -d $ZEBRA_OPTS -f /etc/quagga/zebra.conf
13 Restart=on-abort
14
15 [Install]
16 WantedBy=multi-user.target