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