]> git.sommitrealweird.co.uk Git - quagga-debian.git/blob - redhat/bgpd.service
New upstream release
[quagga-debian.git] / redhat / bgpd.service
1 [Unit]
2 Description=BGP routing daemon
3 BindsTo=zebra.service
4 Wants=network.target
5 After=zebra.service network-pre.target
6 Before=network.target
7 ConditionPathExists=/etc/quagga/bgpd.conf
8 Documentation=man:bgpd
9
10 [Service]
11 Type=forking
12 EnvironmentFile=/etc/sysconfig/quagga
13 ExecStartPre=-/bin/chmod -f 640 /etc/quagga/bgpd.conf
14 ExecStartPre=-/bin/chown -f $QUAGGA_USER:$QUAGGA_GROUP /etc/quagga/bgpd.conf
15 ExecStart=/usr/sbin/bgpd -d $BGPD_OPTS -f /etc/quagga/bgpd.conf
16 Restart=on-abort
17
18 [Install]
19 WantedBy=multi-user.target