mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-01 07:25:14 +00:00
Multiple quagga service files are causing the following type of message to appear during boot: /lib/systemd/system/zebra.service:10: PIDFile= references a path below legacy directory /var/run/, updating /var/run/quagga/zebra.pid → /run/quagga/zebra.pid; please update the unit file accordingly. Update the service files included as part of the recipe to use /run instead of /var/run as the PIDFile path. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
17 lines
412 B
Desktop File
17 lines
412 B
Desktop File
[Unit]
|
|
Description=RIP routing daemon
|
|
BindTo=zebra.service
|
|
After=zebra.service
|
|
ConditionPathExists=@SYSCONFDIR@/quagga/ripd.conf
|
|
|
|
[Service]
|
|
Type=forking
|
|
EnvironmentFile=-@SYSCONFDIR@/default/quagga
|
|
PIDFile=/run/quagga/ripd.pid
|
|
ExecStart=@SBINDIR@/ripd -d $ripd_options -f @SYSCONFDIR@/quagga/ripd.conf
|
|
ExecStopPost=@base_bindir@/rm -rf /run/quagga/ripd.pid
|
|
Restart=on-abort
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|