summary refs log tree commit diff
path: root/nixos/modules/services/torrent
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2019-11-13 22:50:06 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2019-11-16 22:14:47 +0100
commit84648672421cb6a360cb226356c8209670fc8c27 (patch)
tree3147445f9956863cc85d26487ae20376b9c7e1e5 /nixos/modules/services/torrent
parentf6a8eb2d00cd71e630484337cae29c37694037a6 (diff)
downloadnixpkgs-84648672421cb6a360cb226356c8209670fc8c27.tar
nixpkgs-84648672421cb6a360cb226356c8209670fc8c27.tar.gz
nixpkgs-84648672421cb6a360cb226356c8209670fc8c27.tar.bz2
nixpkgs-84648672421cb6a360cb226356c8209670fc8c27.tar.lz
nixpkgs-84648672421cb6a360cb226356c8209670fc8c27.tar.xz
nixpkgs-84648672421cb6a360cb226356c8209670fc8c27.tar.zst
nixpkgs-84648672421cb6a360cb226356c8209670fc8c27.zip
nixos/magnetico: order after network.target
Diffstat (limited to 'nixos/modules/services/torrent')
-rw-r--r--nixos/modules/services/torrent/magnetico.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/torrent/magnetico.nix b/nixos/modules/services/torrent/magnetico.nix
index 860c9c3d08e..719827713ff 100644
--- a/nixos/modules/services/torrent/magnetico.nix
+++ b/nixos/modules/services/torrent/magnetico.nix
@@ -178,7 +178,7 @@ in {
     systemd.services.magneticod = {
       description = "Magnetico DHT crawler";
       wantedBy = [ "multi-user.target" ];
-      after    = [ "network-online.target" ];
+      after    = [ "network.target" ];
 
       serviceConfig = {
         User      = "magnetico";
@@ -190,7 +190,7 @@ in {
     systemd.services.magneticow = {
       description = "Magnetico web interface";
       wantedBy = [ "multi-user.target" ];
-      after    = [ "network-online.target" "magneticod.service"];
+      after    = [ "network.target" "magneticod.service"];
 
       serviceConfig = {
         User           = "magnetico";