summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service')
-rw-r--r--meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service b/meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service
new file mode 100644
index 0000000000..c81bb05ea5
--- /dev/null
+++ b/meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service
@@ -0,0 +1,15 @@
1[Unit]
2Description=dhcpcd on %I
3Wants=network.target
4Before=network.target
5BindsTo=sys-subsystem-net-devices-%i.device
6After=sys-subsystem-net-devices-%i.device
7
8[Service]
9Type=forking
10PIDFile=/run/dhcpcd-%I.pid
11ExecStart=/usr/sbin/dhcpcd -q %I
12ExecStop=/usr/sbin/dhcpcd -x %I
13
14[Install]
15WantedBy=multi-user.target