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