Files
metricspi/package/dhcpcd/dhcpcd.service
Dustin C. Hatch 37cea1dd47 dhcpcd: Wait for carrier before active
In order to ensure that network interfaces are active, but not
necessarily fully configured, before *network.target* is reached, the
*dhcpcd.service* unit now waits until at least one interface has
processed the `CARRIER` event before being marked as active.  This is
accomplished using the *sd_notify* infrastructure, via the
`systemd-notify` command, executed in a client configuration hook
script.
2022-06-28 17:02:03 -05:00

12 lines
287 B
Desktop File

[Unit]
Description=A minimalistic network configuration daemon with DHCPv4, rdisc and DHCPv6 support
Wants=network.target
Before=network.target
[Service]
Type=notify
ExecStart=/usr/sbin/dhcpcd -q --nobackground --env NOTIFY_SOCKET=${NOTIFY_SOCKET}
[Install]
WantedBy=multi-user.target