package/nss-pam-ldapd: use /run for PIDFile

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>
(cherry picked from commit ce3d5129a6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Michael Nosthoff 2020-09-16 17:35:08 +02:00 committed by Peter Korsgaard
parent eaa7bafd82
commit b3619b6a52

View 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]