[Unit]
Description=GNU Zebra routing manager
Wants=network.target
Before=network.target
ConditionPathExists=@SYSCONFDIR@/quagga/zebra.conf

[Service]
Type=forking
EnvironmentFile=-@SYSCONFDIR@/default/quagga
ExecStartPre=@BASE_SBINDIR@/ip route flush proto zebra
ExecStart=@SBINDIR@/zebra -d $zebra_options -f /etc/quagga/zebra.conf
Restart=on-abort

[Install]
WantedBy=multi-user.target
