blob: 9186041ae6ae0e40bedc487e0fa8d9aa74b287f5 [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
Patrick Williamsb48b7b42016-08-17 15:04:38 -050010ExecStartPre=@BASE_SBINDIR@/ip route flush proto zebra
11ExecStart=@SBINDIR@/zebra -d $zebra_options -f @SYSCONFDIR@/quagga/zebra.conf
Brad Bishop6a62e0e2019-10-21 08:11:42 -040012ExecStopPost=@base_bindir@/rm -rf /run/quagga/zebra.pid
Patrick Williamsb48b7b42016-08-17 15:04:38 -050013Restart=on-abort
14
15[Install]
16WantedBy=multi-user.target