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