diff options
Diffstat (limited to 'core/dhcpcd/dhcpcd_.service')
-rw-r--r-- | core/dhcpcd/dhcpcd_.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/dhcpcd/dhcpcd_.service b/core/dhcpcd/dhcpcd_.service new file mode 100644 index 000000000..7c1cdeb71 --- /dev/null +++ b/core/dhcpcd/dhcpcd_.service @@ -0,0 +1,15 @@ +[Unit] +Description=dhcpcd 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 +ExecStop=/usr/sbin/dhcpcd -x %I + +[Install] +Alias=multi-user.target.wants/dhcpcd@eth0.service |