about summary refs log tree commit diff
path: root/nixos/modules
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 /nixos/modules
parente14d24bb4fde9226127e987ebd58d2141b77e9e9 (diff)
downloadnixlib-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.
Diffstat (limited to 'nixos/modules')
-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 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 = {