diff options
author | Alexander Ried <ried@mytum.de> | 2016-09-10 18:03:59 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-09-10 18:03:59 +0200 |
commit | 27bc34f1e471991e43df028edc51159b12405120 (patch) | |
tree | 755a9ff93c09e6affd01878667ba351c659cf3a7 /nixos/modules/services/networking/amuled.nix | |
parent | a28bbba6fc89a72fc65d08b98d79d2fda310b95c (diff) |
treewide: deprecate ip-up.target (#18319)
Systemd upstream provides targets for networking. This also includes a target network-online.target.
In this PR I remove / replace most occurrences since some of them were even wrong and could delay startup.
Diffstat (limited to 'nixos/modules/services/networking/amuled.nix')
-rw-r--r-- | nixos/modules/services/networking/amuled.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/amuled.nix b/nixos/modules/services/networking/amuled.nix index bc488d0e9100..fc7d56a24fa7 100644 --- a/nixos/modules/services/networking/amuled.nix +++ b/nixos/modules/services/networking/amuled.nix @@ -59,7 +59,8 @@ in systemd.services.amuled = { description = "AMule daemon"; - wantedBy = [ "ip-up.target" ]; + wantedBy = [ "multi-user.target" ]; + after = [ "network.target" ]; preStart = '' mkdir -p ${cfg.dataDir} |