From ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3 Mon Sep 17 00:00:00 2001 From: Alexei Robyn Date: Sat, 17 Feb 2018 21:18:05 +1100 Subject: 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. --- nixos/modules/services/networking/dante.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules') 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 = { -- cgit 1.4.1