Guest User

Untitled

a guest
Jan 28th, 2020
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.93 KB | None | 0 0
  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 = 5
  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. # Maximum number of simultanious uploads per torrent.
  39. #
  40. #throttle.max_uploads.set = 15
  41.  
  42. # Default directory to save the downloaded torrents.
  43. #
  44. execute = {/bin/bash,-c,mkdir -p /data/incomplete}
  45. directory.default.set = /synology/torrents/
  46.  
  47. # Default session directory. Make sure you don't run multiple instance
  48. # of rtorrent using the same session directory. Perhaps using a
  49. # relative path?
  50. #
  51. execute = {/bin/bash,-c,mkdir -p /config/rtorrent/session}
  52. session.path.set = /config/rtorrent/session/
  53.  
  54. # Watch a directory for new torrents, and stop those that have been
  55. # deleted.
  56. #
  57. #schedule2 = watch_directory,5,5,load.start=./watch/*.torrent
  58. #schedule2 = untied_directory,5,5,stop_untied=
  59.  
  60. # Close torrents when diskspace is low.
  61. #
  62. #schedule2 = low_diskspace,5,60,close_low_diskspace=100M
  63.  
  64. # The ip address reported to the tracker.
  65. #
  66. #network.local_address.set = 91.233.116.228
  67. #network.local_address.set = rakshasa.no
  68.  
  69. # The ip address the listening socket and outgoing connections is
  70. # bound to.
  71. #
  72. #network.bind_address.set = 10.35.0.101
  73. #network.bind_address.set = rakshasa.no
  74.  
  75. # Port range to use for listening.
  76. #
  77. network.port_range.set = 60210-60210
  78.  
  79. # Start opening ports at a random position within the port range.
  80. #
  81. network.port_random.set = no
  82.  
  83. # Disable check for SSL cert for tracker
  84. #
  85. network.http.ssl_verify_peer.set = 0
  86.  
  87. # Check hash for finished torrents. Might be useful until the bug is
  88. # fixed that causes lack of diskspace not to be properly reported.
  89. #
  90. #pieces.hash.on_completion.set = no
  91.  
  92. # Set whether the client should try to connect to UDP trackers.
  93. #
  94. trackers.use_udp.set = no
  95.  
  96. # Alternative calls to bind and ip that should handle dynamic ip's.
  97. #
  98. #schedule2 = ip_tick,0,1800,ip=rakshasa
  99. #schedule2 = bind_tick,0,1800,bind=rakshasa
  100.  
  101. # Encryption options, set to none (default) or any combination of the following:
  102. # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
  103. #
  104. # The example value allows incoming encrypted connections, starts unencrypted
  105. # outgoing connections but retries with encryption if they fail, preferring
  106. # plaintext to RC4 encryption after the encrypted handshake
  107. #
  108. protocol.encryption.set = allow_incoming,enable_retry,prefer_plaintext
  109.  
  110. # Enable DHT support for trackerless torrents or when all trackers are down.
  111. # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
  112. # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
  113. # The default is "off". For DHT to work, a session directory must be defined.
  114. #
  115. dht.mode.set = off
  116.  
  117. # UDP port to use for DHT.
  118. #
  119. #dht.port.set = 49170
  120.  
  121. # Enable peer exchange (for torrents not marked private)
  122. #
  123. protocol.pex.set = no
  124.  
  125. # Set downlad list layout style. ("full", "compact")
  126. #
  127. #ui.torrent_list.layout.set = "full"
  128.  
  129. # SCGI Connectivity (for alternative rtorrent interfaces, XMLRPC)
  130. #
  131. # Use a IP socket with scgi_port, or a Unix socket with scgi_local.
  132. # schedule can be used to set permissions on the unix socket.
  133. #
  134. scgi_port = 0.0.0.0:5000
  135. #scgi_local = /home/user/rtorrent/rpc.socket
  136. #schedule = scgi_permission,0,0,"execute.nothrow=chmod,\"g+w,o=\",/home/user/rtorrent/rpc.socket"
  137.  
  138. # Initialise ruTorrent plugins (required for rss and scheduler plugins) on startup
  139. # (normally triggered by a browser opening the web ui).
  140. #
  141. # The command below in practice does NOT always trigger (possible race condition?) and thus
  142. # the same command has been added to the script /home/nobody/initplugins.sh in order to
  143. # attempt to ensure all plugins are initialised.
  144. #
  145. execute = {/bin/bash,-c,/usr/bin/sleep 10s && /usr/bin/php /usr/share/webapps/rutorrent/php/initplugins.php admin &}
Add Comment
Please, Sign In to add comment