summaryrefslogtreecommitdiff
path: root/core/dhcpcd/dhcpcd.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-16 00:02:36 +0000
committerroot <root@rshg054.dnsready.net>2012-08-16 00:02:36 +0000
commit0fc1870f2eadde8cb06004be1cbe8d1a4333aa69 (patch)
tree09ae142c72b3ef3bba14bcd0fbd982446585d894 /core/dhcpcd/dhcpcd.service
parent8f1eb849d6de0031d4d91fb6d8780828b1ba924b (diff)
Thu Aug 16 00:02:36 UTC 2012
Diffstat (limited to 'core/dhcpcd/dhcpcd.service')
-rw-r--r--core/dhcpcd/dhcpcd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/dhcpcd/dhcpcd.service b/core/dhcpcd/dhcpcd.service
new file mode 100644
index 000000000..25a1923ac
--- /dev/null
+++ b/core/dhcpcd/dhcpcd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=dhcpcd on %I
+Wants=network.target
+Before=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/dhcpcd-%I.pid
+ExecStart=/sbin/dhcpcd -A -q -w %I
+ExecStop=/sbin/dhcpcd -k %I
+
+[Install]
+Alias=multi-user.target.wants/dhcpcd@eth0.service