SHARE
TWEET

Untitled

a guest Feb 16th, 2020 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This is an example resource file for rTorrent. Copy to
  2. # ~/.rtorrent.rc and enable/modify the options as needed. Remember to
  3. # uncomment the options you wish to enable.
  4.  
  5. # Maximum number of simultaneous downloads and uploads slots (global slots!) (`max_downloads_global`, `max_uploads_global`)
  6. #
  7. #throttle.max_downloads.global.set = 300
  8. #throttle.max_uploads.global.set   = 300
  9.  
  10. # Global upload and download rate in KiB. "0" for unlimited.
  11. #
  12. #throttle.global_down.max_rate.set_kb = 0
  13. #throttle.global_up.max_rate.set_kb = 0
  14.  
  15. # Maximum number of simultaneous downloads and uploads slots per torrent (`max_uploads`) Default: `50` for both
  16. #
  17. #throttle.max_downloads.set = 50
  18. #throttle.max_uploads.set = 8
  19.  
  20. # Maximum and minimum number of peers to connect to per torrent.
  21. #
  22. #throttle.min_peers.normal.set = 100
  23. #throttle.max_peers.normal.set = 200
  24.  
  25. # Same as above but for seeding completed torrents (-1 = same as downloading)
  26. #
  27. #throttle.min_peers.seed.set = 10
  28. #throttle.max_peers.seed.set = 50
  29.  
  30. # Maximum number of connections rtorrent can accept/make (`sockets`)
  31. #
  32. #network.max_open_sockets.set = 1200
  33.  
  34. # Maximum number of open files rtorrent can keep open (you have to modify the system wide settings with ulimit!) (`set_max_open_files`)
  35. #
  36. #network.max_open_files.set = 600
  37.  
  38. # Default directory to save the downloaded torrents.
  39. #
  40. execute = {/bin/bash,-c,mkdir -p /data/incomplete}
  41. directory.default.set = /data/incomplete/
  42.  
  43. # Default session directory. Make sure you don't run multiple instance
  44. # of rtorrent using the same session directory. Perhaps using a
  45. # relative path?
  46. #
  47. execute = {/bin/bash,-c,mkdir -p /config/rtorrent/session}
  48. session.path.set = /config/rtorrent/session/
  49.  
  50. # Watch a directory for new torrents, and stop those that have been
  51. # deleted.
  52. #
  53. #schedule2 = watch_directory,5,5,load.start=./watch/*.torrent
  54. #schedule2 = untied_directory,5,5,stop_untied=
  55.  
  56. # Close torrents when diskspace is low.
  57. #
  58. #schedule2 = low_diskspace,5,60,close_low_diskspace=100M
  59.  
  60. # The ip address reported to the tracker.
  61. #
  62. #network.local_address.set = 127.0.0.1
  63. #network.local_address.set = rakshasa.no
  64.  
  65. # The ip address the listening socket and outgoing connections is
  66. # bound to.
  67. #
  68. #network.bind_address.set = 127.0.0.1
  69. #network.bind_address.set = rakshasa.no
  70.  
  71. # Port range to use for listening.
  72. #
  73.   network.port_range.set = 9012-9012
  74.  
  75. # Start opening ports at a random position within the port range.
  76. #
  77. network.port_random.set = no
  78.  
  79. # Disable check for SSL cert for tracker
  80. #
  81. network.http.ssl_verify_peer.set = 0
  82.  
  83. # Check hash for finished torrents. Might be useful until the bug is
  84. # fixed that causes lack of diskspace not to be properly reported.
  85. #
  86. #pieces.hash.on_completion.set = no
  87.  
  88. # Set whether the client should try to connect to UDP trackers.
  89. #
  90. trackers.use_udp.set = yes
  91.  
  92. # Set the maximum permitted single file size in a torrent.
  93. # Note if you do not set this and attempt to start a torrent that
  94. # contains a file larger than 512 GB (default) then the torrent will
  95. # not start.
  96. #
  97. #system.file.max_size.set = 1024G
  98.  
  99. # Alternative calls to bind and ip that should handle dynamic ip's.
  100. #
  101. #schedule2 = ip_tick,0,1800,ip=rakshasa
  102. #schedule2 = bind_tick,0,1800,bind=rakshasa
  103.  
  104. # Encryption options, set to none (default) or any combination of the following:
  105. # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
  106. #
  107. # allow_incoming - Allow incoming encrypted connections from other peers
  108. # try_outgoing - Attempt to set up encryption when initiating a connection
  109. # require - Require encryption, and reject to peers who don't support it
  110. # require_RC4 - Require RC4 encryption specifically
  111. # enable_retry - If a peer is rejected for not supporting the encryption we need, retry the handshake
  112. # prefer_plaintext - Prefer plaintext encryption
  113. #
  114. protocol.encryption.set = allow_incoming,try_outgoing,enable_retry
  115.  
  116. # Enable DHT support for trackerless torrents or when all trackers are down.
  117. # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
  118. # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
  119. # The default is "off". For DHT to work, a session directory must be defined.
  120. #
  121. dht.mode.set = auto
  122.  
  123. # UDP port to use for DHT.
  124. #
  125.   dht.port.set = 9012
  126.  
  127. # Enable peer exchange (for torrents not marked private)
  128. #
  129. protocol.pex.set = yes
  130.  
  131. # Set downlad list layout style. ("full", "compact")
  132. #
  133. #ui.torrent_list.layout.set = "full"
  134.  
  135. # SCGI Connectivity (for alternative rtorrent interfaces, XMLRPC)
  136. #
  137. # Use a IP socket with scgi_port, or a Unix socket with scgi_local.
  138. # schedule can be used to set permissions on the unix socket.
  139. #
  140. scgi_port = 0.0.0.0:5000
  141. #scgi_local = /home/user/rtorrent/rpc.socket
  142. #schedule = scgi_permission,0,0,"execute.nothrow=chmod,\"g+w,o=\",/home/user/rtorrent/rpc.socket"
  143.  
  144. # Initialise ruTorrent plugins (required for rss and scheduler plugins) on startup
  145. # (normally triggered by a browser opening the web ui).
  146. #
  147. # The command below in practice does NOT always trigger (possible race condition?) and thus
  148. # the same command has been added to the script /home/nobody/initplugins.sh in order to
  149. # attempt to ensure all plugins are initialised.
  150. #
  151. # NOTE - Do not double quote or curly brackets env var for 'WEBUI_USER'
  152. #
  153. execute = {/bin/bash,-c,/usr/bin/sleep 10s && /usr/bin/php /usr/share/webapps/rutorrent/php/initplugins.php $WEBUI_USER &}
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
Top