diff options
author | Alexei Robyn <shados@shados.net> | 2018-02-17 21:18:05 +1100 |
---|---|---|
committer | Joachim F <joachifm@users.noreply.github.com> | 2018-02-17 10:18:05 +0000 |
commit | ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3 (patch) | |
tree | dc5abee96c5719da7494c7421eec3511e827ee81 | |
parent | e14d24bb4fde9226127e987ebd58d2141b77e9e9 (diff) | |
download | nixlib-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar nixlib-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar.gz nixlib-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar.bz2 nixlib-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar.lz nixlib-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar.xz nixlib-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar.zst nixlib-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.zip |
nixos/dante: order after network-online.target (#34435)
network-online.target properly depends on the underlying network management tool (e.g. NixOS static configuration scripts, dhcpcd, NetworkManager, networkd) signalling that all interfaces are up and appropriately configured (to whatever degree possible/required), whereas network.target only indicates that the network management tool itself has started.
-rw-r--r-- | nixos/modules/services/networking/dante.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/dante.nix b/nixos/modules/services/networking/dante.nix index a9a77f3412af..32acce51e692 100644 --- a/nixos/modules/services/networking/dante.nix +++ b/nixos/modules/services/networking/dante.nix @@ -47,7 +47,7 @@ in systemd.services.dante = { description = "Dante SOCKS v4 and v5 compatible proxy server"; - after = [ "network.target" ]; + after = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; serviceConfig = { |