Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=GNU Zebra routing manager |
| 3 | Wants=network.target |
| 4 | Before=network.target |
| 5 | ConditionPathExists=@SYSCONFDIR@/quagga/zebra.conf |
| 6 | |
| 7 | [Service] |
| 8 | Type=forking |
| 9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga |
| 10 | PIDFile=@localstatedir@/run/quagga/zebra.pid |
| 11 | ExecStartPre=@BASE_SBINDIR@/ip route flush proto zebra |
| 12 | ExecStart=@SBINDIR@/zebra -d $zebra_options -f @SYSCONFDIR@/quagga/zebra.conf |
| 13 | ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/zebra.pid |
| 14 | Restart=on-abort |
| 15 | |
| 16 | [Install] |
| 17 | WantedBy=multi-user.target |