blob: 76f9f61e73b54fee8e6d1e40e33cc813aad38e99 [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
10PIDFile=@localstatedir@/run/quagga/bgpd.pid
11ExecStart=@SBINDIR@/bgpd -d $bgpd_options -f @SYSCONFDIR@/quagga/bgpd.conf
12ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/bgpd.pid
13Restart=on-abort
14
15[Install]
16WantedBy=multi-user.target