blob: e4fb6c808dd4b595e8e6d8510089ce803d928217 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001[Unit]
2Description=GNU Zebra routing manager
3Wants=network.target
4Before=network.target
5ConditionPathExists=@SYSCONFDIR@/quagga/zebra.conf
6
7[Service]
8Type=forking
9EnvironmentFile=-@SYSCONFDIR@/default/quagga
10PIDFile=@localstatedir@/run/quagga/zebra.pid
11ExecStartPre=@BASE_SBINDIR@/ip route flush proto zebra
12ExecStart=@SBINDIR@/zebra -d $zebra_options -f @SYSCONFDIR@/quagga/zebra.conf
13ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/zebra.pid
14Restart=on-abort
15
16[Install]
17WantedBy=multi-user.target