Skip to content

Commit

Permalink
nixos/dante: order after network-online.target (#34435)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Shados authored and joachifm committed Feb 17, 2018
1 parent e14d24b commit ab45e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/dante.nix
Expand Up @@ -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 = {
Expand Down

0 comments on commit ab45e13

Please sign in to comment.