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