Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=OSPF routing daemon for IPv6 |
| 3 | BindTo=zebra.service |
| 4 | After=zebra.service |
| 5 | ConditionPathExists=@SYSCONFDIR@/quagga/ospf6d.conf |
| 6 | |
| 7 | [Service] |
| 8 | Type=forking |
| 9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga |
| 10 | PIDFile=@localstatedir@/run/quagga/ospf6d.pid |
| 11 | ExecStart=@SBINDIR@/ospf6d -d $ospf6d_options -f @SYSCONFDIR@/quagga/ospf6d.conf |
| 12 | ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/ospf6d.pid |
| 13 | Restart=on-abort |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=multi-user.target |