From: Michael Nosthoff Date: Wed, 16 Sep 2020 15:35:05 +0000 (+0200) Subject: package/dhcpcd: use /run for PIDFile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9668296056c265836b61f2e7afe6bcd7c9d773ba;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- 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