package/bandwithd: use /run for PIDFile

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>
This commit is contained in:
Michael Nosthoff 2020-09-16 17:35:04 +02:00 committed by Thomas Petazzoni
parent 4027ba29f4
commit cdc183eef0

View File

@ -5,7 +5,7 @@ After=network.target
[Service] [Service]
Type=forking Type=forking
ExecStart=/usr/bin/bandwidthd ExecStart=/usr/bin/bandwidthd
PIDFile=/var/run/bandwidthd.pid PIDFile=/run/bandwidthd.pid
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target