X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..110ea29b8fe7d11de09e19382a9a5808cfb90d32:/redhat/bgpd.service 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