]> git.sommitrealweird.co.uk Git - quagga-debian.git/blobdiff - redhat/nhrpd.service
New upstream release
[quagga-debian.git] / redhat / nhrpd.service
index 63f138cd8376f0a7ed205ed8316e5b7168b14e16..5b4120d9d07a4e3cc5e07045e7a1c42d48eae4d1 100644 (file)
@@ -5,10 +5,13 @@ Wants=network.target
 After=zebra.service network-pre.target
 Before=network.target
 ConditionPathExists=/etc/quagga/nhrpd.conf
+Documentation=man:nhrpd
 
 [Service]
 Type=forking
 EnvironmentFile=/etc/sysconfig/quagga
+ExecStartPre=-/bin/chmod -f 640 /etc/quagga/nhrpd.conf
+ExecStartPre=-/bin/chown -f $QUAGGA_USER:$QUAGGA_GROUP /etc/quagga/nhrpd.conf
 ExecStart=/usr/sbin/nhrpd -d $NHRPD_OPTS -f /etc/quagga/nhrpdd.conf
 Restart=on-abort