void-packages/srcpkgs/dhcpcd/files/dhcpcd@.service

13 lines
325 B
Desktop File

[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]
ExecStart=/usr/sbin/dhcpcd -q -B %I
ExecStop=/usr/sbin/dhcpcd -k %I
[Install]
Alias=multi-user.target.wants/dhcpcd@eth0.service