summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexei Robyn <shados@shados.net>2018-02-17 21:18:05 +1100
committerJoachim F <joachifm@users.noreply.github.com>2018-02-17 10:18:05 +0000
commitab45e13e0791dc60bf4eb496598e48a3ef6a4bc3 (patch)
treedc5abee96c5719da7494c7421eec3511e827ee81
parente14d24bb4fde9226127e987ebd58d2141b77e9e9 (diff)
downloadnixpkgs-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar
nixpkgs-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar.gz
nixpkgs-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar.bz2
nixpkgs-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar.lz
nixpkgs-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar.xz
nixpkgs-ab45e13e0791dc60bf4eb496598e48a3ef6a4bc3.tar.zst
nixpkgs-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.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/dante.nix b/nixos/modules/services/networking/dante.nix
index a9a77f3412a..32acce51e69 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 = {