mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
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 9668296056)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
9a503505d4
commit
0600b47b68
@@ -5,7 +5,7 @@ After=network.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
EnvironmentFile=-/etc/default/dhcpcd
|
EnvironmentFile=-/etc/default/dhcpcd
|
||||||
PIDFile=/var/run/dhcpcd.pid
|
PIDFile=/run/dhcpcd.pid
|
||||||
ExecStart=/sbin/dhcpcd $DAEMON_ARGS
|
ExecStart=/sbin/dhcpcd $DAEMON_ARGS
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user