Rtorrent: Difference between revisions

Makefu (talk | contribs)
add link to flood web service
Makefu (talk | contribs)
add hint on how to increase the open file limit ( just encountered this myself)
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
     enable = true;
     enable = true;
     port = peer-port;
     port = peer-port;
     package = pkgs.jesec-rtorrent; # currently (2024-12-30) rtorrent 0.15.0 in nixpkgs unstable is incompatible with flood, this is why a fork is used
     package = pkgs.rtorrent; # (2025-07-28) upstream develop of rtorrent continued, jesec-rtorrent does not build in nixpkgs
     openFirewall = true;
     openFirewall = true;
   };
   };
  # If you have lots of torrents in the seed you may see rtorrent stack-trace with "too many open files"
  # to increase the limit of open files use:
  systemd.services.rtorrent.serviceConfig.LimitNOFILE = 16384;


   services.flood = {
   services.flood = {
Line 34: Line 37:
  }
  }
After performing '''nixos-rebuild switch''' on port http://localhost:8112 the flood service should run.
After performing '''nixos-rebuild switch''' on port http://localhost:8112 the flood service should run.
[[Category:Server]]