]> git.sommitrealweird.co.uk Git - quagga-debian.git/blob - redhat/nhrpd.service
New upstream release
[quagga-debian.git] / redhat / nhrpd.service
1 [Unit]
2 Description=Quagga NHRP daemon
3 BindsTo=zebra.service
4 Wants=network.target
5 After=zebra.service network-pre.target
6 Before=network.target
7 ConditionPathExists=/etc/quagga/nhrpd.conf
8 Documentation=man:nhrpd
9
10 [Service]
11 Type=forking
12 EnvironmentFile=/etc/sysconfig/quagga
13 ExecStartPre=-/bin/chmod -f 640 /etc/quagga/nhrpd.conf
14 ExecStartPre=-/bin/chown -f $QUAGGA_USER:$QUAGGA_GROUP /etc/quagga/nhrpd.conf
15 ExecStart=/usr/sbin/nhrpd -d $NHRPD_OPTS -f /etc/quagga/nhrpdd.conf
16 Restart=on-abort
17
18 [Install]
19 WantedBy=multi-user.target