X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..7abc219bbb4147c567fd4be2e361622eaafae452:/redhat/bgpd.service?ds=inline diff --git a/redhat/bgpd.service b/redhat/bgpd.service index ef24841..a50bfff 100644 --- a/redhat/bgpd.service +++ b/redhat/bgpd.service @@ -5,10 +5,13 @@ Wants=network.target After=zebra.service network-pre.target Before=network.target ConditionPathExists=/etc/quagga/bgpd.conf +Documentation=man:bgpd [Service] Type=forking EnvironmentFile=/etc/sysconfig/quagga +ExecStartPre=-/bin/chmod -f 640 /etc/quagga/bgpd.conf +ExecStartPre=-/bin/chown -f $QUAGGA_USER:$QUAGGA_GROUP /etc/quagga/bgpd.conf ExecStart=/usr/sbin/bgpd -d $BGPD_OPTS -f /etc/quagga/bgpd.conf Restart=on-abort