David Ward | 4b5a210 | 2012-04-29 16:47:08 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=OSPF routing daemon |
Michal Sekletar | 64c5608 | 2016-10-20 12:56:34 +0200 | [diff] [blame] | 3 | BindsTo=zebra.service |
| 4 | Wants=network.target |
| 5 | After=zebra.service network-pre.target |
| 6 | Before=network.target |
David Ward | 4b5a210 | 2012-04-29 16:47:08 -0400 | [diff] [blame] | 7 | ConditionPathExists=/etc/quagga/ospfd.conf |
| 8 | |
| 9 | [Service] |
| 10 | Type=forking |
| 11 | EnvironmentFile=/etc/sysconfig/quagga |
| 12 | ExecStart=/usr/sbin/ospfd -d $OSPFD_OPTS -f /etc/quagga/ospfd.conf |
| 13 | Restart=on-abort |
| 14 | |
| 15 | [Install] |
Michal Sekletar | 64c5608 | 2016-10-20 12:56:34 +0200 | [diff] [blame] | 16 | WantedBy=multi-user.target |