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