-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rtorrent.rc
executable file
·68 lines (51 loc) · 2.82 KB
/
.rtorrent.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.
# https://wiki.archlinux.org/index.php/RTorrent
# watch directory
# schedule = watch_directory,1,5,"load.start=/opt/sickchill/data/*.torrent,d.directory.set=[DOWNLOAD_DIR],d.delete_tied=,d.set_custom1=[LABEL]"
schedule = watch_directory,1,5,"load.start=/opt/sickchill/data/*.torrent,d.delete_tied="
method.insert = d.get_finished_dir, simple, "cat=/var/lib/sabnzbd/Downloads/complete,$d.custom1="
method.insert = d.data_path, simple, "if=(d.is_multi_file), (cat,(d.directory),/), (cat,(d.directory),/,(d.name))"
method.insert = d.move_to_complete, simple, "d.directory.set=$argument.1=; execute=mkdir,-p,$argument.1=; execute=mv,-u,$argument.0=,$argument.1=; d.save_full_session="
method.set_key = event.download.finished,move_complete,"d.move_to_complete=$d.data_path=,$d.get_finished_dir="
scgi_port = 0.0.0.0:5000
encoding_list = UTF-8
# Maximum and minimum number of peers to connect to per torrent.
#min_peers = 40
max_peers = 52
# Same as above but for seeding completed torrents (-1 = same as downloading)
#min_peers_seed = 10
#max_peers_seed = 50
# Maximum number of simultanious uploads per torrent.
#max_uploads = 7
# Global upload and download rate in KiB. "0" for unlimited.
download_rate = 1000
upload_rate = 90
# Default directory to save the downloaded torrents.
directory = ~/torrents/incomplete
# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session = ~/.rtorrent/session
# Port range to use for listening. (port_range)
network.port_range.set = 4589-4589
# Enable/disable peer exchange for torrents that aren't marked private. Disabled by default. (peer_exchange)
protocol.pex.set = 1
# Set whether the client should try to connect to UDP trackers (It can cause various problems if it's enabled, if you experience any with this option enabled then disable it.)
trackers.use_udp.set = 1
# 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.mode.set = auto
# UDP port to use for DHT
dht.port.set = 62882
# Adding public DHT servers for easy bootstrapping
schedule2 = dht_node_1, 5, 0, "dht.add_node=router.utorrent.com:6881"
schedule2 = dht_node_2, 5, 0, "dht.add_node=dht.transmissionbt.com:6881"
schedule2 = dht_node_3, 5, 0, "dht.add_node=router.bitcomet.com:6881"
schedule2 = dht_node_4, 5, 0, "dht.add_node=dht.aelitis.com:6881"
# enable encryption
protocol.encryption.set = allow_incoming,try_outgoing,enable_retry