diff options
author | Tom Gundersen <teg@jklm.no> | 2012-04-17 18:36:42 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-04-18 00:13:37 +0200 |
commit | e40cdd3514857d7b9d644f1ae63e44a1daadd726 (patch) | |
tree | 0d8cd8f6565d0c9371ca85cacdbcc803ae5a1a1e | |
parent | 250aa4794191a6bd8805555a5fd76d1fc6e3b5ea (diff) | |
download | netctl-e40cdd3514857d7b9d644f1ae63e44a1daadd726.tar.gz netctl-e40cdd3514857d7b9d644f1ae63e44a1daadd726.tar.xz |
systemd: pull in network.target
It is not enough to order ourselves Before network target, we must also
make sure it is pulled in. This means that anything that needs the network
to be up before they start can order themselves After=network.target.
Reported-by: Tobias Powalowski <tpowa@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
-rw-r--r-- | systemd/net-auto-wired.service | 1 | ||||
-rw-r--r-- | systemd/net-auto-wireless.service | 1 | ||||
-rw-r--r-- | systemd/netcfg.service | 1 | ||||
-rw-r--r-- | systemd/netcfg@.service | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/systemd/net-auto-wired.service b/systemd/net-auto-wired.service index f611a89..3c5cf62 100644 --- a/systemd/net-auto-wired.service +++ b/systemd/net-auto-wired.service @@ -1,6 +1,7 @@ [Unit] Description=Provides automatic netcfg wired connection Before=network.target +Wants=network.target [Service] EnvironmentFile=/etc/conf.d/netcfg diff --git a/systemd/net-auto-wireless.service b/systemd/net-auto-wireless.service index c2ea4f8..ab57ab9 100644 --- a/systemd/net-auto-wireless.service +++ b/systemd/net-auto-wireless.service @@ -1,6 +1,7 @@ [Unit] Description=Provides automatic netcfg wireless connection Before=network.target +Wants=network.target [Service] EnvironmentFile=/etc/conf.d/netcfg diff --git a/systemd/netcfg.service b/systemd/netcfg.service index d61d902..a4e5ddc 100644 --- a/systemd/netcfg.service +++ b/systemd/netcfg.service @@ -1,6 +1,7 @@ [Unit] Description=Netcfg multi-profile daemon Before=network.target +Wants=network.target [Service] Type=oneshot diff --git a/systemd/netcfg@.service b/systemd/netcfg@.service index 94b0c76..ddd5ae3 100644 --- a/systemd/netcfg@.service +++ b/systemd/netcfg@.service @@ -1,6 +1,7 @@ [Unit] Description=Netcfg networking service for profile %i Before=network.target +Wants=network.target [Service] Type=oneshot |