blob: 0c62cbce582e7ba52f58c2b6e36452c510876511 [file] [log] [blame]
[Unit]
Description=OSPF routing daemon
BindTo=zebra.service
After=zebra.service
ConditionPathExists=@SYSCONFDIR@/quagga/ospfd.conf
[Service]
Type=forking
EnvironmentFile=-@SYSCONFDIR@/default/quagga
PIDFile=@localstatedir@/run/quagga/ospfd.pid
ExecStart=@SBINDIR@/ospfd -d $ospfd_options -f @SYSCONFDIR@/quagga/ospfd.conf
ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/ospfd.pid
Restart=on-abort
[Install]
WantedBy=multi-user.target