Advertisement
SoulSmasher

raspberrypi.gen.tr | .rtorrent.rc

Aug 11th, 2012
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.54 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. # raspberrypi.gen.tr
  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. #maksimum ram kullanimi, byte cinsinden yaziyoruz ya da <miktar>M (megabyte) cinsinden.
  18. #160 megabyte = 160*1024*1024 = 167772160 byte
  19. #max_memory_usage = 167772160
  20. max_memory_usage = 160M
  21.  
  22. # Maximum and minimum number of peers to connect to per torrent.
  23. #min_peers = 40
  24. max_peers = 100
  25.  
  26. # Same as above but for seeding completed torrents (-1 = same as downloading)
  27. min_peers_seed = -1
  28. max_peers_seed = -1
  29.  
  30. # Maximum number of simultanious uploads per torrent.
  31. max_uploads = 50
  32.  
  33. # Global upload and download rate in KiB. "0" for unlimited.
  34. download_rate = 0
  35. upload_rate = 0
  36.  
  37. # Default directory to save the downloaded torrents.
  38. directory = /media/rtorrent
  39.  
  40. # Default session directory. Make sure you don't run multiple instance
  41. # of rtorrent using the same session directory. Perhaps using a
  42. # relative path?
  43. session = /media/rtorrent/session
  44.  
  45. # Watch a directory for new torrents, and stop those that have been
  46. # deleted.
  47. schedule = watch_directory,5,5,load_start=/home/downloads/<username>/watch/*.torrent
  48. schedule = untied_directory,5,5,stop_untied=
  49.  
  50. # Close torrents when diskspace is low. */
  51. schedule = low_diskspace,5,60,close_low_diskspace=100M
  52.  
  53. # Stop torrents when reaching upload ratio in percent,
  54. # when also reaching total upload in bytes, or when
  55. # reaching final upload ratio in percent.
  56. # example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
  57. #schedule = ratio,60,60,stop_on_ratio=200,200M,2000
  58.  
  59.  
  60. # When the torrent finishes, it executes "mv -n <base_path> ~/Download/"
  61. # and then sets the destination directory to "~/Download/". (0.7.7+)
  62. # on_finished = move_complete,"execute=mv,-u,$d.get_base_path=,/home/downloads/<username>/complete/ ;d.set_directory=/home/downloads/<username>/complete/"
  63.  
  64. # The ip address reported to the tracker.
  65. #ip = 127.0.0.1
  66. #ip = rakshasa.no
  67.  
  68. # The ip address the listening socket and outgoing connections is
  69. # bound to.
  70. #bind = 127.0.0.1
  71. #bind = rakshasa.no
  72.  
  73. # Port range to use for listening.
  74. port_range = 55995-56000
  75.  
  76. # Start opening ports at a random position within the port range.
  77. #port_random = yes
  78.  
  79. scgi_port = 127.0.0.1:5000
  80.  
  81. # Check hash for finished torrents. Might be usefull until the bug is
  82. # fixed that causes lack of diskspace not to be properly reported.
  83. #check_hash = no
  84.  
  85. # Set whetever the client should try to connect to UDP trackers.
  86. #use_udp_trackers = no
  87.  
  88. # Alternative calls to bind and ip that should handle dynamic ip's.
  89. #schedule = ip_tick,0,1800,ip=rakshasa
  90. #schedule = bind_tick,0,1800,bind=rakshasa
  91.  
  92. # Encryption options, set to none (default) or any combination of the following:
  93. # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
  94. #
  95. # The example value allows incoming encrypted connections, starts unencrypted
  96. # outgoing connections but retries with encryption if they fail, preferring
  97. # plaintext to RC4 encryption after the encrypted handshake
  98. #
  99. encryption = allow_incoming,enable_retry,prefer_plaintext
  100.  
  101. # Enable DHT support for trackerless torrents or when all trackers are down.
  102. # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
  103. # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
  104. # The default is "off". For DHT to work, a session directory must be defined.
  105. #
  106. dht = disable
  107.  
  108. # UDP port to use for DHT.
  109. #
  110. # dht_port = 6881
  111.  
  112. # Enable peer exchange (for torrents not marked private)
  113. #
  114. peer_exchange = no
  115.  
  116. #
  117. # Do not modify the following parameters unless you know what you're doing.
  118. #
  119.  
  120. # Example of scheduling commands: Switch between two ip's every 5
  121. # seconds.
  122. #schedule = "ip_tick1,5,10,ip=torretta"
  123. #schedule = "ip_tick2,10,10,ip=lampedusa"
  124.  
  125. # Remove a scheduled event.
  126. #schedule_remove = "ip_tick1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement