Skip to content

Instantly share code, notes, and snippets.

@ppaskowsky
Last active November 8, 2015 23:29
Show Gist options
  • Save ppaskowsky/8e5f472d5e511f30fa46 to your computer and use it in GitHub Desktop.
Save ppaskowsky/8e5f472d5e511f30fa46 to your computer and use it in GitHub Desktop.
.rtorrent.rc configuration file for raspberry pi
# This is an example resource file for rTorrent, optimized for the raspbery pi.
# Copy to ~/.rtorrent.rc and enable/modify the options as needed.
# Maximum and minimum number of peers to connect to per torrent.
# min_peers = 1
# max_peers = 5
# Same as above but for seeding completed torrents (-1 = same as downloading)
# min_peers_seed = 1
# max_peers_seed = 20
# Maximum number of simultaneous downloads
max_downloads_global = 2
# Maximum number of simultaneous uploads
# max_uploads_global = 20
# Global upload and download rate in KiB. "0" for unlimited.
download_rate = 0
upload_rate = 0
# Default directory to save the downloaded torrents.
directory = /root/downloads
# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session = /root/session
# Watch a directory for new torrents, and stop those that have been
# deleted.
schedule = watch_directory,5,5,load_start=/root/watch/*.torrent
# Close torrents when diskspace is low.
schedule = low_diskspace,5,60,close_low_diskspace=1000M
# Port range to use for listening.
port_range = 33333-33333
# Start opening ports at a random position within the port range.
port_random = no
# Set whether the client should try to connect to UDP trackers.
use_udp_trackers = yes
# Sort the main view by ratio
view.sort_current = main,greater=d.get_ratio=
view.sort_new = main,less=d.get_ratio=
view.sort = main
# Encryption options, set to none (default) or any combination of the following:
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
#
encryption = allow_incoming,try_outgoing,enable_retry,prefer_plaintext
# 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 = auto
# UDP port to use for DHT.
#
dht_port = 33333
# Enable peer exchange (for torrents not marked private)
#
peer_exchange = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment