### rtorrent settings ####################################################### # # OPTIONAL settings (check these) # # general throttle.global_up.max_rate.set_kb = 12000 throttle.global_down.max_rate.set_kb = 12000 throttle.max_uploads.set = 100 throttle.max_uploads.global.set = 250 network.http.max_open.set = 99 network.max_open_files.set = 600 network.max_open_sockets.set = 300 protocol.encryption.set = allow_incoming,try_outgoing,enable_retry system.umask.set = 0027 keys.layout.set = qwertz pieces.hash.on_completion.set = no # rTorrent 0.8.9 and older only # default is 2 ms and 5 tries #hash_interval = 50 #hash_max_tries = 2 # range for listening port #network.port_range.set = 64000-64042 network.port_range.set = 6881-6999 network.port_random.set = no # tracker-less torrent support #dht.mode.set = enable protocol.pex.set = no trackers.use_udp.set = no # peer settings throttle.min_peers.normal.set = 20 throttle.max_peers.normal.set = 60 throttle.min_peers.seed.set = 30 throttle.max_peers.seed.set = 80 # resource usage pieces.memory.max.set = 1800M network.xmlrpc.size_limit.set = 2M # # CORE settings (keep these) # network.http.capath.set = /etc/ssl/certs encoding.add = utf8 directory.default.set = /var/cache/media/seeding session.path.set = /var/cache/torrent/rtorrent/.session network.scgi.open_local = /var/cache/torrent/rtorrent/.scgi_local ##scgi_port = localhost:5099 log.execute = /var/cache/torrent/rtorrent/log/execute.log # SCHEDULE: Make SCGI socket group-writable schedule = scgi_permission,0,0,"execute.nothrow=chmod,g+w,/var/cache/torrent/rtorrent/.scgi_local" # SCHEDULE: Watch directories (if you use "pyrotorque", you can/should comment out the watches) #schedule = watch_start_directory,10,10,load.start=/var/cache/torrent/rtorrent/watch/start/*.torrent #schedule = watch_load_directory,15,20,load.normal=/var/cache/torrent/rtorrent/watch/load/*.torrent #schedule = untied_closing,30,30,close_untied= # SCHEDULE: Watch disk space schedule = low_diskspace,15,60,close_low_diskspace=1000M # EVENTS: Logging (don't log "opened", or you get swamped at startup) method.set_key = event.download.inserted_new,log,"print=\"LOADED \",$d.name=,\" [\",$convert.date=$system.time=,\"]\"" method.set_key = event.download.finished,log,"print=\"COMPLETED \",$d.name=,\" [R=\",$d.ratio=,\", \",$convert.date=$system.time=,\"]\"" method.set_key = event.download.closed,log,"print=\"CLOSED \",$d.name=,\" [R=\",$d.ratio=,\", \",$convert.date=$system.time=,\"]\"" # UI/VIEW: Sort "seeding" by ratio view.sort_current = seeding,greater=d.ratio= # # PyroScope SETTINGS # # Set "pyro.extended" to 1 to activate rTorrent-PS features! method.insert = pyro.extended, value|const, 1 # Set "pyro.bin_dir" to the "bin" directory where you installed the pyrocore tools! # Make sure you end it with a "/"; if this is left empty, then the shell's path is searched. method.insert = pyro.bin_dir, string|const, ~/bin/ # Remove the ".default" if you want to change something (else your # changes get over-written on update). method.insert = pyro.rc_dialect, string|const|simple, "execute.capture=bash,-c,\"test $1 = 0.8.6 && echo -n 0.8.6 || echo -n 0.8.9\",dialect,$system.client_version=" #method.insert = pyro.rtorrent_rc, string|const|private, "$cat=~/.pyroscope/rtorrent-,\"$pyro.rc_dialect=\",.rc.default" method.insert = pyro.rtorrent_rc, string|const|private, "$cat=~/.pyroscope/rtorrent-,\"$pyro.rc_dialect=\",.rc" import = $pyro.rtorrent_rc= # TORQUE: Daemon watchdog schedule # Must be activated by touching the "~/.pyroscope/run/pyrotorque" file! # Set the second argument to "-v" or "-q" to change log verbosity. schedule = pyro_watchdog,30,300,"pyro.watchdog=~/.pyroscope," # CURL options branch=pyro.extended=,"network.http.ssl_verify_peer.set=0" branch=pyro.extended=,"network.http.dns_cache_timeout.set=25" # The following view changes rely on additional fields available with PyroScope added, # but are a matter of preference, so you may comment them out # UI/VIEW: Sort incomplete by date added view.sort_current = incomplete,greater=d.custom=tm_loaded view.sort_new = incomplete,greater=d.custom=tm_loaded # UI/VIEW: Show recently completed top-most in "main" view.sort_current = main,greater=d.custom=tm_completed view.filter_on = main,event.download.finished # UI/VIEW: Show active and incomplete torrents (in view #0) and update every 20 seconds # Items are grouped into complete, incomplete, and queued, in that order (rT-PS only). # Within each group, they're sorted by download and then upload speed. branch=pyro.extended=,false=,"view.sort_current = active,greater=d.up.rate=" branch=pyro.extended=,"view.sort_current = active,\"compare=----,d.is_open=,d.complete=,d.down.rate=,d.up.rate=\"" schedule = filter_active,12,20,"view.filter = active,\"or={d.up.rate=,d.down.rate=,not=$d.complete=}\" ;view.sort=active" # # LOCAL settings # # Add anything of your own here... # Transfer rates upload_rate = 25 download_rate = 50 # Encryption encryption = allow_incoming, try_outgoing, enable_retry # Collapsible display #schedule = bind_collapse,0,0,"ui.bind_key=download_list,*,view.collapsed.toggle=" view.collapsed.toggle = main # Show traffic of the last hour network.history.depth.set = 112 schedule = network_history_sampling,1,32, network.history.sample= method.insert = network.history.auto_scale.toggle, simple|private, "branch=network.history.auto_scale=,\"network.history.auto_scale.set=0\",\"network.history.auto_scale.set=1\"" method.insert = network.history.auto_scale.ui_toggle, simple|private, "network.history.auto_scale.toggle= ;network.history.refresh=" branch=pyro.extended=,"schedule = bind_auto_scale,0,0,\"ui.bind_key=download_list,=,network.history.auto_scale.ui_toggle=\"" # Enable DHT support for trackerless torrents or when all trackers are down. # May be set to "disable" (completely disable DHT), "off" (do not start DHT), # "auto" (start and stop DHT as needed), or "on" (start DHT immediately). # The default is "off". For DHT to work, a session directory must be defined. # dht = on # UDP port to use for DHT. # dht_port = 6881 ### END rtorrent.rc #########################################################