[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#779609: udhcpd is not started if apptemted to start in the boot process



I came across this bug and created a systemd service.
udhcpd is started to early, when the interface doesn't already have an
IP assigned.

The simple fix is using a systemd service file.

best,
lynxis
[Unit]
Description=udhcpcd DHCP server
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/usr/sbin/udhcpd -f
RestartSec=5
Restart=always

[Install]
WantedBy=multi-user.target

Attachment: pgpHdUwmZads2.pgp
Description: OpenPGP digital signature


Reply to: