mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
07e13c6b94
Add systemd service for quagga. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
16 lines
388 B
Desktop File
16 lines
388 B
Desktop File
[Unit]
|
|
Description=GNU Zebra routing manager
|
|
Wants=network.target
|
|
Before=network.target
|
|
ConditionPathExists=@SYSCONFDIR@/quagga/zebra.conf
|
|
|
|
[Service]
|
|
Type=forking
|
|
EnvironmentFile=-@SYSCONFDIR@/default/quagga
|
|
ExecStartPre=@BASE_SBINDIR@/ip route flush proto zebra
|
|
ExecStart=@SBINDIR@/zebra -d $zebra_options -f /etc/quagga/zebra.conf
|
|
Restart=on-abort
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|