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