package/dhcpcd: fix pid path
From the README: dhcpcd-9 defaults the run directory to `/var/run/dhcpcd` instead of `/var/run` and the prefix of dhcpcd has been removed from the files. Make it so. Signed-off-by: Konstantin Menyaev <KAMenyaev@sberdevices.ru> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
2bc9cac446
commit
f73718ce5e
@ -5,7 +5,7 @@
|
||||
|
||||
DAEMON=/sbin/dhcpcd
|
||||
CONFIG=/etc/dhcpcd.conf
|
||||
PIDFILE=/var/run/dhcpcd.pid
|
||||
PIDFILE=/var/run/dhcpcd/pid
|
||||
|
||||
[ -f $CONFIG ] || exit 0
|
||||
|
||||
|
@ -5,7 +5,7 @@ After=network.target
|
||||
[Service]
|
||||
Type=forking
|
||||
EnvironmentFile=-/etc/default/dhcpcd
|
||||
PIDFile=/run/dhcpcd.pid
|
||||
PIDFile=/run/dhcpcd/pid
|
||||
ExecStart=/sbin/dhcpcd $DAEMON_ARGS
|
||||
Restart=always
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user