blob: 0c62cbce582e7ba52f58c2b6e36452c510876511 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001[Unit]
2Description=OSPF routing daemon
3BindTo=zebra.service
4After=zebra.service
5ConditionPathExists=@SYSCONFDIR@/quagga/ospfd.conf
6
7[Service]
8Type=forking
9EnvironmentFile=-@SYSCONFDIR@/default/quagga
10PIDFile=@localstatedir@/run/quagga/ospfd.pid
11ExecStart=@SBINDIR@/ospfd -d $ospfd_options -f @SYSCONFDIR@/quagga/ospfd.conf
12ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/ospfd.pid
13Restart=on-abort
14
15[Install]
16WantedBy=multi-user.target