summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-08-02 21:16:25 +0000
committerMichał Górny <mgorny@gentoo.org>2011-08-02 21:16:25 +0000
commit75d41ff9bcdb31c1adec70d35c1fb19d34e1bd55 (patch)
tree98c05f0ea5b72f5e01fd27b26bc92eeddadcb088 /net-misc/dhcpcd/files
parentFix semantic-desktop dependency, bug 377167 (diff)
downloadgentoo-2-75d41ff9bcdb31c1adec70d35c1fb19d34e1bd55.tar.gz
gentoo-2-75d41ff9bcdb31c1adec70d35c1fb19d34e1bd55.tar.bz2
gentoo-2-75d41ff9bcdb31c1adec70d35c1fb19d34e1bd55.zip
Fix systemd service target. Thanks to Tom Gundersen for explaining this.
(Portage version: 2.2.0_alpha49_p5/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/dhcpcd/files')
-rw-r--r--net-misc/dhcpcd/files/dhcpcd.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/dhcpcd/files/dhcpcd.service b/net-misc/dhcpcd/files/dhcpcd.service
index 46a6567e05e3..2ac9adca0692 100644
--- a/net-misc/dhcpcd/files/dhcpcd.service
+++ b/net-misc/dhcpcd/files/dhcpcd.service
@@ -1,8 +1,10 @@
[Unit]
Description=Lightweight DHCP client daemon
+Wants=network.target
+Before=network.target
[Service]
ExecStart=/sbin/dhcpcd -q --nobackground
[Install]
-WantedBy=network.target
+WantedBy=multi-user.target