blob: c1021fbd718ea0f3061099bf561d2e8ae3f841f6 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001[Unit]
2Description=BGP routing daemon
3BindTo=zebra.service
4After=zebra.service
5ConditionPathExists=@SYSCONFDIR@/quagga/bgpd.conf
6
7[Service]
8Type=forking
9EnvironmentFile=-@SYSCONFDIR@/default/quagga
Brad Bishop6a62e0e2019-10-21 08:11:42 -040010PIDFile=/run/quagga/bgpd.pid
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011ExecStart=@SBINDIR@/bgpd -d $bgpd_options -f @SYSCONFDIR@/quagga/bgpd.conf
Brad Bishop6a62e0e2019-10-21 08:11:42 -040012ExecStopPost=@base_bindir@/rm -rf /run/quagga/bgpd.pid
Patrick Williamsb48b7b42016-08-17 15:04:38 -050013Restart=on-abort
14
15[Install]
16WantedBy=multi-user.target