1 # karabaja4's rtorrent example configuration file
2 # this configuration is written for _secure_ torrent usage, not speed!
4 # ----------------------------------------------------------------------------------
6 # Maximum and minimum number of peers to connect to per torrent.
10 # Same as above but for seeding completed torrents (-1 = same as downloading)
14 # Maximum number of simultanious uploads per torrent.
17 # Global upload and download rate in KiB. "0" for unlimited.
21 # ----------------------------------------------------------------------------------
23 # Default directory to save the downloaded files.
24 directory = ~/Downloads/torrentdl/
26 # Default session directory. Make sure you don't run multiple instance
27 # of rtorrent using the same session directory. Perhaps using a
31 # ----------------------------------------------------------------------------------
33 # Watch a directory for new torrents, load them but DO NOT start them (annoying!).
34 # Also erase the torrent file when a torrent is inserted (swallow torrent files).
35 # This also removes the tie (die ties die die die).
36 schedule = watch_directory,5,5,"load=~/Downloads/*.torrent,d.delete_tied="
38 # Schedule download rates, maximum between 2AM-10AM (when everybody is asleep :))
39 schedule = night_throttle,02:00:00,24:00:00,download_rate=0
40 schedule = day_throttle,10:00:00,24:00:00,download_rate=600
42 # Close torrents when diskspace is low.
43 schedule = low_diskspace,5,60,close_low_diskspace=100M
45 # Set incomplete flag on added torrents
46 system.method.set_key = event.download.inserted_new,set_incomplete_flag_on_insert,d.set_custom1=1
48 # Erase all data files when a incomplete download is removed (that still has custom1 flag set).
49 system.method.set_key = event.download.erased,remove_incomplete_remove_data,"branch=d.get_custom1=,\"execute={rm,-rf,--,$d.get_base_path=}\""
51 # Clear custom1 (remove incomplete flag) when download completes.
52 system.method.set_key = event.download.finished,clear_incomplete_flag_on_finished,d.set_custom1=
54 # Add completed torrent name to log file.
55 # example torrents.sh: "echo $1 >> ~/Downloads/completed.log"
56 system.method.set_key = event.download.finished,add_completed_to_log,"execute=~/scripts/torrents.sh,$d.get_name="
58 # Stops the torrent when it's finished (careful, stops seeding!)
59 system.method.set_key = event.download.finished,stop_when_done,"d.stop=; d.close="
61 # ----------------------------------------------------------------------------------
63 # Port range to use for listening.
64 port_range = 49164-49164
66 # Check hash for finished torrents. Might be usefull until the bug is
67 # fixed that causes lack of diskspace not to be properly reported.
70 # Encryption options, set to any combination of the following:
71 # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
72 # Encryption is a GOOD thing even though it means less peers.
73 encryption = require,require_RC4,allow_incoming,try_outgoing
75 # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
76 # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
77 # The default is "off". For DHT to work, a session directory must be defined.
80 # UDP port to use for DHT.
83 # Enable peer exchange (for torrents not marked private)