summaryrefslogtreecommitdiff
path: root/units/systemd-nspawn@.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-02-16 17:57:30 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-17 16:06:31 -0500
commitdec718065b59babdbc502e87149c310a7a297172 (patch)
tree63df0581effce872ea38cc701fe14a0cd8748bf6 /units/systemd-nspawn@.service.in
parentb053cd5f8e48e04ac576296404848bbb8dd26854 (diff)
units: order systemd-nspawn@.service after systemd-resolved.service
This way, the nspawn internal check whether resolved is running will succeed if it is enabled. Fixes: #4649
Diffstat (limited to 'units/systemd-nspawn@.service.in')
-rw-r--r--units/systemd-nspawn@.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in
index e8d1fff7ab..8c0685aef5 100644
--- a/units/systemd-nspawn@.service.in
+++ b/units/systemd-nspawn@.service.in
@@ -10,7 +10,7 @@ Description=Container %i
Documentation=man:systemd-nspawn(1)
PartOf=machines.target
Before=machines.target
-After=network.target
+After=network.target systemd-resolved.service
[Service]
ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i