Skip to contentSkip to conversation

package/bandwithd: use /run for PIDFile

Buildroot Peter Korsgaard 1 participant 1 message Sep 28, 2020

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=ab8123c18a43c2602882dee20302390469b91001
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.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.

(cherry picked from commit cdc183eef026ecfc3f2ae2afc02440b549829be4)
---
 package/bandwidthd/bandwidthd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/bandwidthd/bandwidthd.service +1 -1
index 9c03d42946..ab7f05a2e8 100644
@@ -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