mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02: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>
17 lines
419 B
Desktop File
17 lines
419 B
Desktop File
[Unit]
|
|
Description=OSPF routing daemon
|
|
BindTo=zebra.service
|
|
After=zebra.service
|
|
ConditionPathExists=@SYSCONFDIR@/quagga/ospfd.conf
|
|
|
|
[Service]
|
|
Type=forking
|
|
EnvironmentFile=-@SYSCONFDIR@/default/quagga
|
|
PIDFile=/run/quagga/ospfd.pid
|
|
ExecStart=@SBINDIR@/ospfd -d $ospfd_options -f @SYSCONFDIR@/quagga/ospfd.conf
|
|
ExecStopPost=@base_bindir@/rm -rf /run/quagga/ospfd.pid
|
|
Restart=on-abort
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|