.rtorrent.rc 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. # Rtorrent configuration file.
  2. # Maximum and minimum number of peers to connect to per torrent.
  3. min_peers = 1
  4. max_peers = 100
  5. # Same as above but for seeding completed torrents (-1 = same as downloading)
  6. min_peers_seed = 1
  7. max_peers_seed = 50
  8. # Maximum number of uploads single torrent may use
  9. max_uploads = 10
  10. # Maximum number of simultaneous downloads
  11. max_downloads_global = 1
  12. # Maximum number of simultaneous uploads
  13. max_uploads_global = 1
  14. # Global upload and download rate in KiB. "0" for unlimited.
  15. download_rate = 0
  16. upload_rate = 0
  17. # Default directory to save the downloaded torrents.
  18. directory = /mnt/Downloads
  19. # Default session directory. Make sure you don't run multiple instance
  20. # of rtorrent using the same session directory. Perhaps using a
  21. # relative path?
  22. session = ./.rtorrent
  23. # Watch a directory for new torrents, and stop those that have been deleted.
  24. schedule = watch_directory,5,5,load_start=./rtactive/*.torrent
  25. schedule = tied_directory,6,5,start_tied=
  26. schedule = untied_directory,7,5,stop_untied=
  27. # Close torrents when diskspace is low.
  28. schedule = low_diskspace,5,60,close_low_diskspace=2000M
  29. # Periodically save session data
  30. schedule = session_save,240,300,session_save=
  31. # Enable the default ratio group.
  32. ratio.enable=
  33. # Change the limits, the defaults should be sufficient.
  34. # Upload minimum ratio
  35. ratio.min.set=1
  36. # Upload maximum ratio
  37. ratio.max.set=25
  38. # Minimum upload size
  39. ratio.upload.set=30M
  40. # When seeding ratio is reached close the torrent
  41. system.method.set = group.seeding.ratio.command, d.close=
  42. # Move files to ./unsorted when download completes
  43. #system.method.set_key = event.download.finished,move_complete,"execute=mv,-n,$d.get_base_path=,./unsorted/;d.set_directory=./unsorted/"
  44. # Port range to use for listening.
  45. port_range = 33101-33199
  46. # Start opening ports at a random position within the port range.
  47. port_random = yes
  48. # Encryption options, set to none (default) or any combination of the following:
  49. # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
  50. # The example value allows incoming encrypted connections, starts unencrypted
  51. # outgoing connections but retries with encryption if they fail, preferring
  52. # plaintext to RC4 encryption after the encrypted handshake
  53. encryption = allow_incoming,try_outgoing,enable_retry,prefer_plaintext
  54. # Sort the main view by ratio
  55. view.sort_current = main,greater=d.get_ratio=
  56. view.sort_new = main,less=d.get_ratio=
  57. view.sort = main
  58. # Sort the seeding view by the upload rate and only show torrents with peers
  59. view.sort_current = seeding,greater=d.get_up_rate=
  60. view.filter = seeding,"and=d.get_complete=,d.get_peers_connected="
  61. view.sort_new = seeding,less=d.get_up_rate=
  62. view.sort = seeding
  63. # Sort the leeching view by name
  64. view.sort_current = leeching,greater=d.get_name=
  65. view.sort_new = leeching,greater=d.get_name=
  66. view.sort = leeching
  67. # Filter the active view by connected peers
  68. view.sort_current = active,less=d.get_name=
  69. view.sort_new = leeching,less=d.get_name=
  70. view.filter = active,d.get_peers_connected=
  71. view.sort = active
  72. schedule = sort_main,11,5,view.sort=main
  73. schedule = sort_seeding,12,5,view.sort=seeding
  74. schedule = sort_leeching,13,5,view.sort=leeching
  75. schedule = sort_active,14,5,view.sort=active
  76. # Enable DHT support for trackerless torrents or when all trackers are down.
  77. # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
  78. # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
  79. # The default is "off". For DHT to work, a session directory must be defined.
  80. #dht = auto
  81. # UDP port to use for DHT.
  82. #dht_port = 6881
  83. # Enable peer exchange (for torrents not marked private)
  84. peer_exchange = yes