From 58e027023b47b32e42cf93dd4a629b869ee1ef25 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Jun 2014 14:58:32 +0200 Subject: [PATCH] units: order network-online.target after network.target There might be implementations around where the network-online logic might not talk to any network configuration service (and thus not have to wait for it), hence let's explicitly order network-online.target after network.target to avoid any ambiguities. --- units/network-online.target | 1 + units/systemd-networkd-wait-online.service.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/units/network-online.target b/units/network-online.target index a40c44c9b..67bc4fa47 100644 --- a/units/network-online.target +++ b/units/network-online.target @@ -9,3 +9,4 @@ Description=Network is Online Documentation=man:systemd.special(7) Documentation=http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget +After=network.target diff --git a/units/systemd-networkd-wait-online.service.in b/units/systemd-networkd-wait-online.service.in index a9bad7aa8..8597f7c44 100644 --- a/units/systemd-networkd-wait-online.service.in +++ b/units/systemd-networkd-wait-online.service.in @@ -12,7 +12,7 @@ DefaultDependencies=no Conflicts=shutdown.target Requisite=systemd-networkd.service After=systemd-networkd.service -Before=network-online.target +Before=network.target network-online.target [Service] Type=oneshot -- 2.30.2