[Buildroot] [git commit branch/2020.05.x] package/bandwithd: use /run for PIDFile

Peter Korsgaard peter at korsgaard.com
Mon Sep 28 20:49:36 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=98f563b99ce7020aaea8de649e5e39ca8ad16544
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.05.x

Fixes:

PIDFile= references a path below legacy directory /var/run/, updating
/var/run/bandwithd.pid → /run/bandwithd.pid; please update the unit file
accordingly.

Signed-off-by: Michael Nosthoff <buildroot at heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit cdc183eef026ecfc3f2ae2afc02440b549829be4)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/bandwidthd/bandwidthd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/bandwidthd/bandwidthd.service b/package/bandwidthd/bandwidthd.service
index 9c03d42946..ab7f05a2e8 100644
--- a/package/bandwidthd/bandwidthd.service
+++ b/package/bandwidthd/bandwidthd.service
@@ -5,7 +5,7 @@ After=network.target
 [Service]
 Type=forking
 ExecStart=/usr/bin/bandwidthd
-PIDFile=/var/run/bandwidthd.pid
+PIDFile=/run/bandwidthd.pid
 
 [Install]
 WantedBy=multi-user.target


More information about the buildroot mailing list