package/bandwithd: use /run for PIDFile
authorMichael Nosthoff <buildroot@heine.tech>
Wed, 16 Sep 2020 15:35:04 +0000 (17:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 19 Sep 2020 13:15:16 +0000 (15:15 +0200)
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@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/bandwidthd/bandwidthd.service

index 9c03d42946ec5353223e03d69abbde104b9e79e1..ab7f05a2e85f4f525954ccfa5e7e6fb866164331 100644 (file)
@@ -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