Advertisement
Guest User

rtorrent.rc example

a guest
Jun 14th, 2010
2,933
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. # Based on original .rtorrent.rc file from http://libtorrent.rakshasa.no/
  6. # Modified by Lemonberry for rtGui http://rtgui.googlecode.com/
  7. #
  8. # This assumes the following directory structure:
  9. #
  10. # /Torrents/Downloading - temporaray location for torrents while downloading (see "directory")
  11. # /Torrents/Complete - Torrents are moved here when complete (see "on_finished")
  12. # /Torrents/TorrentFiles/Auto - The 'autoload' directory for rtorrent to use. Place a file
  13. # in here, and rtorrent loads it #automatically. (see "schedule = watch_directory")
  14. # /Torrents/Downloading/rtorrent.session - for storing rtorrent session information
  15. #
  16.  
  17. # Maximum and minimum number of peers to connect to per torrent.
  18. #min_peers = 40
  19. #max_peers = 200
  20.  
  21. # Same as above but for seeding completed torrents (-1 = same as downloading)
  22. #min_peers_seed = 10
  23. #max_peers_seed = 50
  24.  
  25. # Maximum number of simultanious uploads per torrent.
  26. #max_uploads = 15
  27.  
  28. # Global upload and download rate in KiB. "0" for unlimited.
  29. #download_rate = 0
  30. #upload_rate = 50
  31.  
  32. # Default directory to save the downloaded torrents.
  33. #directory = /home/user/torrent
  34.  
  35. # Default session directory. Make sure you don't run multiple instance
  36. # of rtorrent using the same session directory. Perhaps using a
  37. # relative path?
  38. #session = /home/user/torrent/.session
  39.  
  40. # Watch a directory for new torrents, and stop those that have been
  41. # deleted.
  42. #schedule = watch_directory,5,5,load_start=/home/user/torrent_files/*.torrent
  43. #schedule = untied_directory,5,5,stop_untied=
  44.  
  45. # Close torrents when diskspace is low. */
  46. #schedule = low_diskspace,5,60,close_low_diskspace=100M
  47.  
  48. # Stop torrents when reaching upload ratio in percent,
  49. # when also reaching total upload in bytes, or when
  50. # reaching final upload ratio in percent.
  51. # example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
  52. #schedule = ratio,60,60,stop_on_ratio=200,200M,2000
  53.  
  54. #execute_log = /home/shs/rtorrent.log
  55.  
  56. # When the torrent finishes, it executes "mv -n <base_path> ~/Download/"
  57. # and then sets the destination directory to "~/Download/". (0.7.7+)
  58. #on_finished = move_complete,"execute=mv,-u,$d.get_base_path=,/Torrents/Complete/ ;d.set_directory=/Torrents/Complete/"
  59.  
  60. # The ip address reported to the tracker.
  61. #ip = 127.0.0.1
  62. #ip = rakshasa.no
  63.  
  64. # The ip address the listening socket and outgoing connections is
  65. # bound to.
  66. #bind = 127.0.0.1
  67. #bind = rakshasa.no
  68.  
  69. # Port range to use for listening.
  70. #port_range = 13253-13255
  71.  
  72. #scgi_port = 127.0.0.1:5000
  73.  
  74. # Start opening ports at a random position within the port range.
  75. #port_random = no
  76.  
  77. # Check hash for finished torrents. Might be usefull until the bug is
  78. # fixed that causes lack of diskspace not to be properly reported.
  79. #check_hash = no
  80.  
  81. # Set whetever the client should try to connect to UDP trackers.
  82. #use_udp_trackers = yes
  83.  
  84. # Alternative calls to bind and ip that should handle dynamic ip's.
  85. #schedule = ip_tick,0,1800,ip=rakshasa
  86. #schedule = bind_tick,0,1800,bind=rakshasa
  87.  
  88. # Encryption options, set to none (default) or any combination of the following:
  89. # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
  90. #
  91. # The example value allows incoming encrypted connections, starts unencrypted
  92. # outgoing connections but retries with encryption if they fail, preferring
  93. # plaintext to RC4 encryption after the encrypted handshake
  94. #
  95. #encryption = allow_incoming,require,prefer_plaintext,try_outgoing
  96.  
  97. #x
  98. # Do not modify the following parameters unless you know what you're doing.
  99. #
  100.  
  101. # Hash read-ahead controls how many MB to request the kernel to read
  102. # ahead. If the value is too low the disk may not be fully utilized,
  103. # while if too high the kernel might not be able to keep the read
  104. # pages in memory thus end up trashing.
  105. #hash_read_ahead = 10
  106.  
  107. # Interval between attempts to check the hash, in milliseconds.
  108. #hash_interval = 100
  109.  
  110. # Number of attempts to check the hash while using the mincore status,
  111. # before forcing. Overworked systems might need lower values to get a
  112. # decent hash checking rate.
  113. #hash_max_tries = 10
  114.  
  115. # Max number of files to keep open simultaniously.
  116. #max_open_files = 128
  117.  
  118. # Number of sockets to simultaneously keep open.
  119. #max_open_sockets = <no default>
  120.  
  121.  
  122. # Example of scheduling commands: Switch between two ip's every 5
  123. # seconds.
  124. #schedule = "ip_tick1,5,10,ip=torretta"
  125. #schedule = "ip_tick2,10,10,ip=lampedusa"
  126.  
  127. # Remove a scheduled event.
  128. #schedule_remove = "ip_tick1"
Advertisement
RAW Paste Data Copied
Advertisement