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

15 lines
431 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]
Type=forking
PIDFile=/run/dhcpcd-%I.pid
ExecStart=/usr/sbin/dhcpcd -q -w %I -e "wpa_supplicant_conf=/etc/wpa_supplicant/wpa_supplicant-%I.conf"
ExecStop=/usr/sbin/dhcpcd -x %I
[Install]
Alias=multi-user.target.wants/dhcpcd@%i.service