[Unit] Description=Lightweight DHCP client daemon on %I Wants=network.target Before=network.target BindsTo=sys-subsystem-net-devices-%i.device After=sys-subsystem-net-devices-%i.device [Service] Type=forking PIDFile=/run/dhcpcd-%I.pid ExecStart=/sbin/dhcpcd -q -w %I ExecStop=/sbin/dhcpcd -x %I [Install] WantedBy=multi-user.target