]> git.sommitrealweird.co.uk Git - quagga-debian.git/blobdiff - redhat/pimd.service
New upstream version 1.2.3
[quagga-debian.git] / redhat / pimd.service
index d62fe64880280817f84f04f593369cddc356c1db..191684686d2c8d6d267ac6242faabdc59a38c8ff 100644 (file)
@@ -3,10 +3,13 @@ Description=PIM multicast routing engine
 BindTo=zebra.service
 After=syslog.target network.target zebra.service
 ConditionPathExists=/etc/quagga/pimd.conf
+Documentation=man:pimd
 
 [Service]
 Type=forking
 EnvironmentFile=/etc/sysconfig/quagga
+ExecStartPre=-/bin/chmod -f 640 /etc/quagga/pimd.conf
+ExecStartPre=-/bin/chown -f $QUAGGA_USER:$QUAGGA_GROUP /etc/quagga/pimd.conf
 ExecStart=/usr/sbin/pimd -d $PIMD_OPTS -f /etc/quagga/pimd.conf
 Restart=on-abort