package/minidlna: use /run for PIDFile
authorMichael Nosthoff <buildroot@heine.tech>
Wed, 16 Sep 2020 15:35:07 +0000 (17:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 19 Sep 2020 13:15:38 +0000 (15:15 +0200)
Fixes:

PIDFile= references a path below legacy directory /var/run/, updating
/var/run/minidlna.pid → /run/minidlna.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/minidlna/minidlnad.service

index f69476b303a7b84505546cd3ecd7f6d91ca4293c..4e968d38585a682db79b7aca25f4bd1e1a30ea2c 100644 (file)
@@ -5,7 +5,7 @@ After=network.target
 [Service]
 Type=forking
 ExecStart=/usr/sbin/minidlnad
-PIDFile=/var/run/minidlna/minidlna.pid
+PIDFile=/run/minidlna/minidlna.pid
 
 [Install]
 WantedBy=multi-user.target