Skip to content

Instantly share code, notes, and snippets.

@arion
Last active December 27, 2015 20:09
Show Gist options
  • Save arion/7382873 to your computer and use it in GitHub Desktop.
Save arion/7382873 to your computer and use it in GitHub Desktop.
# rTorrent configuration by meArion
# last updated on 09/11-13
## connection
# set peers limit
min_peers = 1
max_peers = 100
# set a port range
port_range = 6970-6999
# set random ports on startup
port_random = yes
# default download speed (0=no limit)
download_rate = 0
# default upload speed (0=no limit)
upload_rate = 0
# max upload slots per torrent
max_uploads = 10
# enable encrypted connections
encryption = allow_incoming,enable_retry,prefer_plaintext
# use UDP-trakers
use_udp_trackers = yes
# 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".
dht = auto
# UDP port to use for DHT
dht_port = 42011
## downloads
# default download directory
directory = /shares/Downloads/
# save settings and more with sessiosn
session = /shares/Downloads/.session
session_save = yes
## schedules
# watch for .torrents, start in a directory & set a new for later mv of the files
schedule = watch_directory_1,5,5,"load_start=/shares/Downloads/Torrents/watch/Games/*.torrent,d.set_directory=/shares/Downloads/Games/"
schedule = watch_directory_2,5,5,"load_start=/shares/Downloads/Torrents/watch/Movies/*.torrent,d.set_directory=/shares/Downloads/Movies/"
schedule = watch_directory_3,5,5,"load_start=/shares/Downloads/Torrents/watch/Others/*.torrent,d.set_directory=/shares/Downloads/Others/"
schedule = watch_directory_4,5,5,"load_start=/shares/Downloads/Torrents/watch/Serials/*.torrent,d.set_directory=/shares/Downloads/Serials/"
schedule = watch_directory_5,5,5,"load_start=/shares/Downloads/Torrents/watch/.secret/*.torrent,d.set_directory=/shares/Downloads/.secret/"
schedule = watch_directory_6,5,5,"load_start=/shares/Downloads/Torrents/watch/*.torrent,d.set_directory=/shares/Downloads/"
# change download speed by shedule
schedule = throttle_1,23:00:00,24:00:00,download_rate=0
schedule = throttle_2,06:00:00,24:00:00,download_rate=1
# restart torrents that have been copied back
schedule = tied_directory,5,60,start_tied=
# stop deleted torrents
schedule = untied_directory,5,60,close_untied=
# close torrents when diskspace gets under 10GB
schedule = low_diskspace,5,60,close_low_diskspace=10G
# HowTo install on WD My Book Live
# http://krokodilen.livejournal.com/10290.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment