mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

The systemd can not open the pid file because it is locked by quagga daemon. Fixes: $ systemctl status ospf6d.service Feb 25 05:53:26 intel-x86-64 systemd[1]: Starting OSPF routing daemon for IPv6... Feb 25 05:53:26 intel-x86-64 systemd[1]: ospf6d.service: Can't open PID file /run/quagga/ospf6d.pid (yet?) after start: Operation not permitted Feb 25 05:53:26 intel-x86-64 systemd[1]: Started OSPF routing daemon for IPv6. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 lines
452 B
Desktop File
17 lines
452 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 @SYSCONFDIR@/quagga/zebra.conf
|
|
ExecStopPost=@base_bindir@/rm -rf /run/quagga/zebra.pid
|
|
Restart=on-abort
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|