rc 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # Maximum and minimum number of peers to connect to per torrent.
  2. min_peers = 50
  3. max_peers = 200
  4. # Same as above but for seeding completed torrents (-1 = same as downloading)
  5. min_peers_seed = 10
  6. max_peers_seed = 50
  7. # Maximum number of simultanious uploads per torrent.
  8. max_uploads = 10
  9. # Global upload and download rate in KiB. "0" for unlimited.
  10. #download_rate = 0
  11. upload_rate = 500
  12. # Default directory to save the downloaded torrents.
  13. directory = ~/downloads/misc
  14. # Default session directory.
  15. session = ~/config/rtorrent/session
  16. #encoding_list = utf8
  17. # Watch directories for new torrents.
  18. schedule = watch_audiobooks, 10, 10, "load.start=~/downloads/_torrents/audiobooks/*.torrent,d.set_directory=~/downloads/audiobooks/"
  19. schedule = watch_books, 10, 10, "load.start=~/downloads/_torrents/books/*.torrent,d.set_directory=~/downloads/books/"
  20. schedule = watch_music, 10, 10, "load.normal=~/downloads/_torrents/music/*.torrent,d.set_directory=~/downloads/music/"
  21. schedule = watch_misc, 10, 10, "load.normal=~/downloads/_torrents/misc/*.torrent,d.set_directory=~/downloads/misc/"
  22. # Port range to use for listening.
  23. port_range = 6891-6891
  24. # Start opening ports at a random position within the port range.
  25. port_random = no
  26. # Check hash for finished torrents. Might be usefull until the bug is
  27. # fixed that causes lack of diskspace not to be properly reported.
  28. #check_hash = no
  29. # Encryption options, set to none (default) or any combination of the following:
  30. # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
  31. #
  32. # The example value allows incoming encrypted connections, starts unencrypted
  33. # outgoing connections but retries with encryption if they fail, preferring
  34. # plaintext to RC4 encryption after the encrypted handshake
  35. encryption = allow_incoming,enable_retry,prefer_plaintext
  36. # Enable DHT support for trackerless torrents or when all trackers are down.
  37. # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
  38. # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
  39. # The default is "off". For DHT to work, a session directory must be defined.
  40. dht = auto
  41. # UDP port to use for DHT.
  42. dht_port = 6881
  43. # Enable peer exchange (for torrents not marked private)
  44. peer_exchange = yes
  45. key_layout = dvorak
  46. ## TODO guix's rtorrent doesn't support xmlrpc
  47. # scgi_port = localhost:5000
  48. # xmlrpc_dialect = i8
  49. # encoding_list = UTF-8