Advertisement
Guest User

Untitled

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