[Buildroot] [PATCH v3 6/8] package/nss-pam-ldapd: use /run for PIDFile
Michael Nosthoff
buildroot at heine.tech
Wed Sep 16 15:35:08 UTC 2020
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 at heine.tech>
---
package/nss-pam-ldapd/nslcd.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/nss-pam-ldapd/nslcd.service b/package/nss-pam-ldapd/nslcd.service
index 6c0d71b241..5a000a8e4c 100644
--- a/package/nss-pam-ldapd/nslcd.service
+++ b/package/nss-pam-ldapd/nslcd.service
@@ -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]
--
2.25.1
More information about the buildroot
mailing list