daily pastebin goal
95%
SHARE
TWEET

Untitled

a guest Apr 21st, 2018 111 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This is the rtorrent configuration file installed by rtinst script - https://github.com/arakasi72/rtinst
  2. # This file is installed to ~/.rtorrent.rc
  3. # Enable/modify the options as needed, uncomment the options you wish to enable.
  4. # This configuration will work with most systems, but optimal settings are dependant on specific server setup
  5.  
  6. ### Set Directories
  7. method.insert = cfg.basedir,     private|const|string, (cat,"/root/rtorrent/")
  8. method.insert = cfg.watch,       private|const|string, (cat,(cfg.basedir),"watch/")
  9.  
  10. #method.insert = cfg.logs,       private|const|string, (cat,(cfg.basedir),"log/")
  11. #method.insert = cfg.logfile,    private|const|string, (cat,(c   fg.logs),"rtorrent-",(system.time),".log")
  12.  
  13. session.path.set = (cat,(cfg.basedir),".session")
  14. directory.default.set = "/mnt/local/torrents"
  15. directory = "/mnt/local/torrents"
  16. schedule = watch_directory,5,5,((load.start,(cat,(cfg.watch),"*.torrent")))
  17.  
  18. ### BitTorrent
  19. # Global upload and download rate in KiB, `0` for unlimited
  20. throttle.global_down.max_rate.set = 0
  21. throttle.global_up.max_rate.set = 0
  22.  
  23. # Maximum number of simultaneous downloads and uploads slots
  24. throttle.max_downloads.global.set = 9999
  25. throttle.max_uploads.global.set = 9999
  26.  
  27. # Maximum and minimum number of peers to connect to per torrent while downloading
  28. throttle.min_peers.normal.set = 30
  29. throttle.max_peers.normal.set = 500
  30.  
  31. # Same as above but for seeding completed torrents (seeds per torrent)
  32. throttle.min_peers.seed.set = -1
  33. throttle.max_peers.seed.set = -1
  34.  
  35. ### Networking
  36. network.port_range.set = 51001-51250
  37. network.port_random.set = yes
  38. dht.mode.set = disable
  39. protocol.pex.set = no
  40. trackers.use_udp.set = yes
  41.  
  42. # network.scgi.open_port = localhost:5000
  43. network.scgi.open_port = 127.0.0.1:5000
  44. network.http.ssl_verify_peer.set = 0
  45. protocol.encryption.set = allow_incoming,enable_retry,prefer_plaintext
  46.  
  47. network.max_open_files.set = 9999
  48. network.max_open_sockets.set = 1536
  49. network.http.max_open.set = 100
  50. network.send_buffer.size.set = 4M
  51. network.receive_buffer.size.set = 4M
  52.  
  53. ### Memory Settings
  54. pieces.hash.on_completion.set = no
  55. pieces.preload.type.set = 1
  56. pieces.memory.max.set = 7000M
  57.  
  58.  
  59. ### Logging:
  60. #   Levels = critical error warn notice info debug
  61. #   Groups = connection_* dht_* peer_* rpc_* storage_* thread_* tracker_* torrent_*
  62. #print = (cat,"Logging to ",(cfg.logfile))
  63. #log.open_file = "log", (cfg.logfile)
  64. #log.add_output = "info", "log"
  65. #log.add_output = "tracker_debug", "log"
  66.  
  67.  
  68. ### The following line initialises rutorrent plugins without needing to open the web interface
  69. execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php root &}
  70.  
  71. #EOF
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Pastebin PRO 'AUTUMN SPECIAL'!
Get 60% OFF Pastebin PRO accounts!
 
Top