Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2011
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.61 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 = 40
  7. #max_peers = 100
  8.  
  9. # Same as above but for seeding completed torrents (-1 = same as downloading)
  10. #min_peers_seed = 10
  11. #max_peers_seed = 50
  12.  
  13. # Maximum number of simultanious uploads per torrent.
  14. #max_uploads = 15
  15.  
  16. # Global upload and download rate in KiB. "0" for unlimited.
  17. download_rate = 1000
  18. upload_rate = 100
  19.  
  20. # Default directory to save the downloaded torrents.
  21. directory = /tmp/rt/rtorrent/.incomplete
  22.  
  23. # Default session directory. Make sure you don't run multiple instance
  24. # of rtorrent using the same session directory. Perhaps using a
  25. # relative path?
  26. session = /tmp/rt/rtorrent/.session
  27.  
  28. # Watch a directory for new torrents, and stop those that have been
  29. # deleted.
  30. schedule = watch_directory,5,5,load_start=/tmp/rt/rtorrent/torrents/*.torrent
  31. schedule = untied_directory,5,5,stop_untied=
  32.  
  33. # Move completed torrents
  34. # system.method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,/tmp/rt/rtorrent/finished/;d.set_directory=/tmp/rt/rtorrent/finished/"
  35.  
  36. # Move closed torrents
  37. # system.method.set_key = event.download.closed,move_complete,"execute=mv,-u,$d.get_base_path=,/tmp/rt/rtorrent/finished/ ;d.set_directory=/tmp/rt/rtorrent/finished/"
  38.  
  39. # Close torrents when diskspace is low.
  40. schedule = low_diskspace,5,60,close_low_diskspace=100M
  41.  
  42. # Stop torrents when reaching upload ratio in percent,
  43. # when also reaching total upload in bytes, or when
  44. # reaching final upload ratio in percent.
  45. # example: stop at ratio 1.05 with at least 50 MB uploaded, or else ratio 300.0
  46. ratio.enable=
  47. ratio.min.set=105
  48. ratio.max.set=300
  49. ratio.upload.set=50M
  50.  
  51. # Changing the command triggered when the ratio is reached.
  52. system.method.set = group.seeding.ratio.command, d.close=, d.erase=
  53.  
  54. # Start rutorrent plugins when rtorrent starts (for RSS / etc)
  55. execute = {sh,-c,/usr/bin/php-cgi /var/www/plugins/rutorrent/php/initplugins.php wdlxtv &}
  56.  
  57. # The ip address reported to the tracker.
  58. #ip = 127.0.0.1
  59. #ip = rakshasa.no
  60.  
  61. # The ip address the listening socket and outgoing connections is
  62. # bound to.
  63. #bind = 127.0.0.1
  64. #bind = rakshasa.no
  65.  
  66. # Port range to use for listening.
  67. port_range = 58690-58699
  68.  
  69. # Start opening ports at a random position within the port range.
  70. port_random = no
  71.  
  72. # Check hash for finished torrents. Might be usefull until the bug is
  73. # fixed that causes lack of diskspace not to be properly reported.
  74. check_hash = no
  75.  
  76. # Enable safe sync since hash check on complete is disabled
  77. safe_sync = yes
  78.  
  79. # Set whetever the client should try to connect to UDP trackers.
  80. #use_udp_trackers = yes
  81.  
  82. # Alternative calls to bind and ip that should handle dynamic ip's.
  83. #schedule = ip_tick,0,1800,ip=rakshasa
  84. #schedule = bind_tick,0,1800,bind=rakshasa
  85.  
  86. # Encryption options, set to none (default) or any combination of the following:
  87. # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
  88. #
  89. # The example value allows incoming encrypted connections, starts unencrypted
  90. # outgoing connections but retries with encryption if they fail, preferring
  91. # plaintext to RC4 encryption after the encrypted handshake
  92. #
  93. encryption = allow_incoming,try_outgoing,require,require_RC4,enable_retry
  94.  
  95. # Enable DHT support for trackerless torrents or when all trackers are down.
  96. # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
  97. # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
  98. # The default is "off". For DHT to work, a session directory must be defined.
  99. #
  100. dht = auto
  101.  
  102. # UDP port to use for DHT.
  103. #
  104. dht_port = 46881
  105.  
  106. # Enable peer exchange (for torrents not marked private)
  107. #
  108. peer_exchange = yes
  109.  
  110. #
  111. # Do not modify the following parameters unless you know what you're doing.
  112. #
  113.  
  114. # Hash read-ahead controls how many MB to request the kernel to read
  115. # ahead. If the value is too low the disk may not be fully utilized,
  116. # while if too high the kernel might not be able to keep the read
  117. # pages in memory thus end up trashing.
  118. hash_read_ahead = 5
  119.  
  120. # Interval between attempts to check the hash, in milliseconds.
  121. hash_interval = 10
  122.  
  123. # Number of attempts to check the hash while using the mincore status,
  124. # before forcing. Overworked systems might need lower values to get a
  125. # decent hash checking rate.
  126. hash_max_tries = 5
  127.  
  128. # scgi port for rutorrent
  129. scgi_port = localhost:5000
  130.  
  131. # extra encoding types to check
  132. # encoding_list = UTF-8,UTF8,UTF-16,UTF16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement