]> git.sommitrealweird.co.uk Git - quagga-debian.git/blobdiff - redhat/ospfd.service
Fixup Debian patches
[quagga-debian.git] / redhat / ospfd.service
index 5d6c5bb01207b506fbc7cac2234cb8878241aaba..0084b6ce9a73fa39941937e3df7657d98e41df81 100644 (file)
@@ -5,10 +5,13 @@ Wants=network.target
 After=zebra.service network-pre.target
 Before=network.target
 ConditionPathExists=/etc/quagga/ospfd.conf
 After=zebra.service network-pre.target
 Before=network.target
 ConditionPathExists=/etc/quagga/ospfd.conf
+Documentation=man:ospfd
 
 [Service]
 Type=forking
 EnvironmentFile=/etc/sysconfig/quagga
 
 [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
 
 ExecStart=/usr/sbin/ospfd -d $OSPFD_OPTS -f /etc/quagga/ospfd.conf
 Restart=on-abort