summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/quagga/files/zebra.service
diff options
context:
space:
mode:
authorTrevor Gamblin <trevor.gamblin@windriver.com>2019-10-17 08:53:51 -0400
committerKhem Raj <raj.khem@gmail.com>2019-10-17 08:33:53 -0700
commitdb9dbfdc7806a0f4c8f46b63c55bb65eae6258b9 (patch)
tree49c28109a56f0cde3c2dc18e8fc13781b818b32a /meta-networking/recipes-protocols/quagga/files/zebra.service
parent99303c190e3d69650b278c65d94b63ffccfa41bb (diff)
downloadmeta-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/zebra.service')
-rw-r--r--meta-networking/recipes-protocols/quagga/files/zebra.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-protocols/quagga/files/zebra.service b/meta-networking/recipes-protocols/quagga/files/zebra.service
index e4fb6c808d..e34af72426 100644
--- a/meta-networking/recipes-protocols/quagga/files/zebra.service
+++ b/meta-networking/recipes-protocols/quagga/files/zebra.service
@@ -7,10 +7,10 @@ ConditionPathExists=@SYSCONFDIR@/quagga/zebra.conf
7[Service] 7[Service]
8Type=forking 8Type=forking
9EnvironmentFile=-@SYSCONFDIR@/default/quagga 9EnvironmentFile=-@SYSCONFDIR@/default/quagga
10PIDFile=@localstatedir@/run/quagga/zebra.pid 10PIDFile=/run/quagga/zebra.pid
11ExecStartPre=@BASE_SBINDIR@/ip route flush proto zebra 11ExecStartPre=@BASE_SBINDIR@/ip route flush proto zebra
12ExecStart=@SBINDIR@/zebra -d $zebra_options -f @SYSCONFDIR@/quagga/zebra.conf 12ExecStart=@SBINDIR@/zebra -d $zebra_options -f @SYSCONFDIR@/quagga/zebra.conf
13ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/zebra.pid 13ExecStopPost=@base_bindir@/rm -rf /run/quagga/zebra.pid
14Restart=on-abort 14Restart=on-abort
15 15
16[Install] 16[Install]