mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
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.
This commit is contained in:
parent
e14d24bb4f
commit
ab45e13e07
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user