2012-01-30 11:45:51 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Lightweight DHCP client daemon on %I
|
|
|
|
Wants=network.target
|
|
|
|
Before=network.target
|
2012-11-13 10:08:48 +00:00
|
|
|
BindsTo=sys-subsystem-net-devices-%i.device
|
|
|
|
After=sys-subsystem-net-devices-%i.device
|
2012-01-30 11:45:51 +00:00
|
|
|
|
|
|
|
[Service]
|
2012-11-23 14:05:16 +00:00
|
|
|
Type=forking
|
|
|
|
PIDFile=/run/dhcpcd-%I.pid
|
|
|
|
ExecStart=/usr/sbin/dhcpcd -q -w %I
|
|
|
|
ExecStop=/usr/sbin/dhcpcd -x %I
|
2012-01-30 11:45:51 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
Alias=multi-user.target.wants/dhcpcd@eth0.service
|