xExekut3x

.rtorrent.rc

May 26th, 2017
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. ### Set Directories
  2. method.insert = cfg.basedir, private|const|string, (cat,"/home/rtorrent/rtorrent/")
  3. method.insert = cfg.watch, private|const|string, (cat,(cfg.basedir),"watch/")
  4.  
  5. #method.insert = cfg.logs, private|const|string, (cat,(cfg.basedir),"log/")
  6. #method.insert = cfg.logfile, private|const|string, (cat,(c fg.logs),"rtorrent-",(system.time),".log")
  7.  
  8. session.path.set = (cat,(cfg.basedir),".session")
  9. directory.default.set = (cat,(cfg.basedir),"download")
  10.  
  11. schedule = watch_directory,5,5,((load.start,(cat,(cfg.watch),"*.torrent")))
  12.  
  13. ### BitTorrent
  14. # Global upload and download rate in KiB, `0` for unlimited
  15. throttle.global_down.max_rate.set = 0
  16. throttle.global_up.max_rate.set = 0
  17.  
  18. # Maximum number of simultaneous downloads and uploads slots
  19. throttle.max_downloads.global.set = 150
  20. throttle.max_uploads.global.set = 150
  21.  
  22. # Maximum and minimum number of peers to connect to per torrent while downloading
  23. throttle.min_peers.normal.set = 30
  24. throttle.max_peers.normal.set = 150
  25.  
  26. # Same as above but for seeding completed torrents (seeds per torrent)
  27. throttle.min_peers.seed.set = -1
  28. throttle.max_peers.seed.set = -1
  29.  
  30. ### Networking
  31. network.port_range.set = 55395-55395
  32. network.port_random.set = no
  33. dht.mode.set = disable
  34. protocol.pex.set = no
  35. trackers.use_udp.set = yes
  36.  
  37. # network.scgi.open_port = localhost:5000
  38. network.scgi.open_port = 127.0.0.1:5000
  39. network.http.ssl_verify_peer.set = 0
  40. protocol.encryption.set = allow_incoming,enable_retry,prefer_plaintext
  41.  
  42. network.max_open_files.set = 4096
  43. network.max_open_sockets.set = 1536
  44. network.http.max_open.set = 48
  45. network.send_buffer.size.set = 4M
  46. network.receive_buffer.size.set = 4M
  47.  
  48. ### Memory Settings
  49. pieces.hash.on_completion.set = no
  50. pieces.preload.type.set = 1
  51. pieces.memory.max.set = 3500M
  52.  
  53. ### Logging:
  54. # Levels = critical error warn notice info debug
  55. # Groups = connection_* dht_* peer_* rpc_* storage_* thread_* tracker_* torrent_*
  56. #print = (cat,"Logging to ",(cfg.logfile))
  57. #log.open_file = "log", (cfg.logfile)
  58. #log.add_output = "info", "log"
  59. #log.add_output = "tracker_debug", "log"
  60.  
  61.  
  62. ### The following line initialises rutorrent plugins without needing to open the web interface
  63. execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php rtorrent &}
  64.  
  65. #EOF
Advertisement
Add Comment
Please, Sign In to add comment