kumquat-buildroot/package/dhcpcd/dhcpcd.service
Konstantin Menyaev f73718ce5e 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>
2022-09-05 21:00:58 +02:00

14 lines
226 B
Desktop File

[Unit]
Description=DHCP client
After=network.target
[Service]
Type=forking
EnvironmentFile=-/etc/default/dhcpcd
PIDFile=/run/dhcpcd/pid
ExecStart=/sbin/dhcpcd $DAEMON_ARGS
Restart=always
[Install]
WantedBy=multi-user.target