summaryrefslogtreecommitdiffstats
path: root/abs/core/dhcpcd/dhcpcd_.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/dhcpcd/dhcpcd_.service')
-rw-r--r--abs/core/dhcpcd/dhcpcd_.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/dhcpcd/dhcpcd_.service b/abs/core/dhcpcd/dhcpcd_.service
new file mode 100644
index 0000000..e7bc5ca
--- /dev/null
+++ b/abs/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/bin/dhcpcd -q -w %I
+ExecStop=/usr/bin/dhcpcd -x %I
+
+[Install]
+WantedBy=multi-user.target