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

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

index 6c0d71b241aed9dcac045855324ca555794da6ff..5a000a8e4c11ddde2a0d147e99975b7eb1b8c14d 100644 (file)
@@ -4,7 +4,7 @@ After=syslog.target network.target
 
 [Service]
 Type=forking
-PIDFile=/var/run/nslcd/nslcd.pid
+PIDFile=/run/nslcd/nslcd.pid
 ExecStart=/usr/sbin/nslcd
 
 [Install]