blob: 76f9f61e73b54fee8e6d1e40e33cc813aad38e99 [file] [log] [blame]
[Unit]
Description=BGP routing daemon
BindTo=zebra.service
After=zebra.service
ConditionPathExists=@SYSCONFDIR@/quagga/bgpd.conf
[Service]
Type=forking
EnvironmentFile=-@SYSCONFDIR@/default/quagga
PIDFile=@localstatedir@/run/quagga/bgpd.pid
ExecStart=@SBINDIR@/bgpd -d $bgpd_options -f @SYSCONFDIR@/quagga/bgpd.conf
ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/bgpd.pid
Restart=on-abort
[Install]
WantedBy=multi-user.target