summaryrefslogtreecommitdiff
path: root/testing/dhcpcd/dhcpcd.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-02 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-08-02 00:01:47 +0000
commite8f5b2ea6983e7a97c1640e9e211f356b8b5d21b (patch)
treef454ed3270ca5f6171ffc277c784aaecf9ddb6d1 /testing/dhcpcd/dhcpcd.service
parenta71961a43ef48f47d3575915f63099308a18a263 (diff)
Thu Aug 2 00:01:47 UTC 2012
Diffstat (limited to 'testing/dhcpcd/dhcpcd.service')
-rw-r--r--testing/dhcpcd/dhcpcd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/dhcpcd/dhcpcd.service b/testing/dhcpcd/dhcpcd.service
new file mode 100644
index 000000000..25a1923ac
--- /dev/null
+++ b/testing/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