[Unit] Description=OSPF routing daemon BindsTo=zebra.service Wants=network.target After=zebra.service network-pre.target Before=network.target ConditionPathExists=/etc/quagga/ospfd.conf Documentation=man:ospfd [Service] Type=forking ExecStartPre=-/bin/chmod -f 640 /etc/quagga/ospfd.conf ExecStartPre=-/bin/chown -f quagga:quagga /etc/quagga/ospfd.conf ExecStart=/usr/sbin/ospfd -d -A 127.0.0.1 -f /etc/quagga/ospfd.conf Restart=on-abort [Install] WantedBy=multi-user.target