Advertisement
Guest User

Untitled

a guest
Feb 25th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.65 KB | None | 0 0
  1.  
  2. ################################################################################
  3. ## WhatBox Configuration file for rTorrent. ##
  4. ## Last updated May 2015 by Anthony ##
  5. ## If you choose to edit this file, there are a couple of things to note: ##
  6. ## 1. Be sure this file is saved with \n (LF) line breaks. If you're ##
  7. ## connecting via SSH and using nano (or similar), this shouldn't be a ##
  8. ## problem. However, if you're on Windows and are (S)FTP'ing the file ##
  9. ## to your computer, there's a chance that the line breaks may change. ##
  10. ## If there aren't LF line breaks, rTorrent will not start. ##
  11. ## 2. Please respect the fact that this is a shared server. Hash checking ##
  12. ## on completion is disabled because most times it will spike the load ##
  13. ## while it's checking the files. For large torrents, this can take a ##
  14. ## very long time, and generally isn't even needed. ##
  15. ## 3. scgi must not be changed, in order for ruTorrent to work. If you ##
  16. ## choose to use nTorrent or have another reason to connect to rTorrent ##
  17. ## using xmlrpc, you can access it through HTTP or HTTPS. ##
  18. ## ##
  19. ## Protocol: HTTPS ##
  20. ## Host: (your server).whatbox.ca ##
  21. ## Port: 443 ##
  22. ## Mountpoint: /xmlrpc ##
  23. ## Username: (your username) ##
  24. ## Password: (your password) ##
  25. ## ##
  26. ################################################################################
  27.  
  28. ## These control where rTorrent looks for .torrents and where files are saved
  29. directory.default.set = ~/files
  30. schedule = watch_directory,5,5,"load.start=~/watch/*.torrent,\"d.delete_tied=\""
  31. #schedule = untied_directory,5,5,close_untied=
  32.  
  33. ## Periodically save session data
  34. schedule = session_save,300,300,session_save=
  35.  
  36. #################################################
  37. ## These settings are mostly user customizable ##
  38. #################################################
  39. trackers.use_udp.set = yes
  40. # Upload/download rate in KB/s. 0 for unlimited
  41. throttle.global_down.max_rate.set_kb = 0
  42. throttle.global_up.max_rate.set_kb = 0
  43.  
  44. # Maximum and minimum number of peers to connect to per torrent.
  45. #min_peers = 40
  46. #max_peers = 100
  47. # Same as above but for seeding completed torrents (-1 = same as downloading)
  48. #min_peers_seed = 10
  49. #max_peers_seed = 50
  50. # Maximum number of simultanious uploads per torrent.
  51. #max_uploads = 15
  52. # Example of stop on ratio: Stops if ratio's 2.00 with at least 200MB up,
  53. # otherwise stop at a ratio of 20.00
  54. #schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
  55.  
  56. #################################################
  57. ## These settings shouldn't need to be changed ##
  58. #################################################
  59. encoding.add = UTF-8
  60. network.port_range.set = 55000-65000
  61. network.port_random.set = yes
  62. protocol.encryption.set = allow_incoming,enable_retry,try_outgoing
  63.  
  64.  
  65. # If there's less than 5GB of disk space, it will stop torrents from
  66. # downloading. Keep in mind that we receive alerts about low disk space, so
  67. # it shouldn't actually get this low. However, if the server runs out of space,
  68. # all of the rTorrents will lock up, eating all of the CPU and spiking loads.
  69. schedule = low_diskspace,5,60,close_low_diskspace=5120M
  70.  
  71. # This chmods the downloaded files to 770. This will allow them to be deleted
  72. # by w/ruTorrent, while not allowing any other users to touch them.
  73. system.umask.set = 007
  74.  
  75. # XMLRPC Size Limit
  76. # This should allow ~3200 torrents in ruTorrent. Any higher and I'd be surprised
  77. # if ruTorrent could handle it.
  78. set_xmlrpc_size_limit = 2097152
  79.  
  80. #ruTorrent plugins
  81. execute = {sh,-c,/usr/bin/php /usr/share/rutorrent/webui/php/initplugins.php &}
  82.  
  83. dht.mode.set = off
  84. #schedule = dht_node1,5,0,dht.add_node=router.utorrent.com
  85. schedule = dht_node2,5,0,dht.add_node=dht.transmissionbt.com
  86. protocol.pex.set = no
  87.  
  88. #########################################
  89. ## These settings shouldn't be changed ##
  90. #########################################
  91. network.scgi.open_local = ~/.config/rtorrent/socket
  92. session.path.set = ~/.config/rtorrent/session
  93. pieces.hash.on_completion.set = no
  94. pieces.memory.max.set = 768M
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement