David Ward | 4b5a210 | 2012-04-29 16:47:08 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=GNU Zebra routing manager |
Michal Sekletar | 64c5608 | 2016-10-20 12:56:34 +0200 | [diff] [blame^] | 3 | Wants=network.target |
| 4 | Before=network.target |
| 5 | After=network-pre.target |
David Ward | 4b5a210 | 2012-04-29 16:47:08 -0400 | [diff] [blame] | 6 | ConditionPathExists=/etc/quagga/zebra.conf |
| 7 | |
| 8 | [Service] |
| 9 | Type=forking |
| 10 | EnvironmentFile=-/etc/sysconfig/quagga |
| 11 | ExecStartPre=/sbin/ip route flush proto zebra |
| 12 | ExecStart=/usr/sbin/zebra -d $ZEBRA_OPTS -f /etc/quagga/zebra.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 |