Browse Source

package/dhcpcd: use /run for PIDFile

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@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 9668296056c265836b61f2e7afe6bcd7c9d773ba)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Michael Nosthoff 4 years ago
parent
commit
3d742eb40a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/dhcpcd/dhcpcd.service

+ 1 - 1
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