[Buildroot] [PATCH v3 3/8] package/dhcpcd: use /run for PIDFile
Michael Nosthoff
buildroot at heine.tech
Wed Sep 16 11:45:03 UTC 2020
Fixes:
PIDFile= references a path below legacy directory /var/run/, updating
/var/run/dhcpcd.pid → /run/dhcpcd.pid; please update the unit file
accordingly.
Signed-off-by: Michael Nosthoff <buildroot at heine.tech>
---
package/dhcpcd/dhcpcd.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/dhcpcd/dhcpcd.service b/package/dhcpcd/dhcpcd.service
index 0552b5c73a..e648092c9b 100644
--- a/package/dhcpcd/dhcpcd.service
+++ b/package/dhcpcd/dhcpcd.service
@@ -5,7 +5,7 @@ After=network.target
[Service]
Type=forking
EnvironmentFile=-/etc/default/dhcpcd
-PIDFile=/var/run/dhcpcd.pid
+PIDFile=/run/dhcpcd.pid
ExecStart=/sbin/dhcpcd $DAEMON_ARGS
Restart=always
--
2.25.1
More information about the buildroot
mailing list