diff options
author | Trevor Gamblin <trevor.gamblin@windriver.com> | 2019-10-17 08:53:51 -0400 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-10-17 08:33:53 -0700 |
commit | db9dbfdc7806a0f4c8f46b63c55bb65eae6258b9 (patch) | |
tree | 49c28109a56f0cde3c2dc18e8fc13781b818b32a /meta-networking/recipes-protocols/quagga/files/ripngd.service | |
parent | 99303c190e3d69650b278c65d94b63ffccfa41bb (diff) | |
download | meta-openembedded-db9dbfdc7806a0f4c8f46b63c55bb65eae6258b9.tar.gz |
quagga: fix PIDFile path for service files
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>
Diffstat (limited to 'meta-networking/recipes-protocols/quagga/files/ripngd.service')
-rw-r--r-- | meta-networking/recipes-protocols/quagga/files/ripngd.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-protocols/quagga/files/ripngd.service b/meta-networking/recipes-protocols/quagga/files/ripngd.service index 0355ad12a4..9305f86be5 100644 --- a/meta-networking/recipes-protocols/quagga/files/ripngd.service +++ b/meta-networking/recipes-protocols/quagga/files/ripngd.service @@ -7,9 +7,9 @@ ConditionPathExists=@SYSCONFDIR@/quagga/ripngd.conf [Service] Type=forking EnvironmentFile=-@SYSCONFDIR@/default/quagga -PIDFile=@localstatedir@/run/quagga/ripngd.pid +PIDFile=/run/quagga/ripngd.pid ExecStart=@SBINDIR@/ripngd -d $ripngd_options -f @SYSCONFDIR@/quagga/ripngd.conf -ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/ripngd.pid +ExecStopPost=@base_bindir@/rm -rf /run/quagga/ripngd.pid Restart=on-abort [Install] |