Advertisement
Guest User

Untitled

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