test file_size with send to different shard
[cloudstore.git] / torrent / rtorrent.rc
1 # rember to run rtorrent under /srv/cloudstore/send/ directory!
2
3 # This is an example resource file for rTorrent. Copy to
4 # ~/.rtorrent.rc and enable/modify the options as needed. Remember to
5 # uncomment the options you wish to enable.
6
7 scgi_local=/tmp/rtorrent.socket
8
9 # Maximum and minimum number of peers to connect to per torrent.
10 #min_peers = 40
11 #max_peers = 100
12
13 # Same as above but for seeding completed torrents (-1 = same as downloading)
14 #min_peers_seed = 10
15 #max_peers_seed = 50
16
17 # Maximum number of simultanious uploads per torrent.
18 #max_uploads = 15
19
20 # Global upload and download rate in KiB. "0" for unlimited.
21 #download_rate = 0
22 #upload_rate = 0
23
24 # FIXME: TESTING
25 download_rate = 15
26 upload_rate = 15
27
28 # Default directory to save the downloaded torrents.
29 directory = ./
30
31 # Default session directory. Make sure you don't run multiple instance
32 # of rtorrent using the same session directory. Perhaps using a
33 # relative path?
34 #session = ./session
35
36 # Watch a directory for new torrents, and stop those that have been
37 # deleted.
38 schedule = watch_directory,5,5,load_start=./watch/*.torrent
39 schedule = tied_directory,5,5,start_tied=
40 schedule = untied_directory,5,5,close_untied=
41
42 # Close torrents when diskspace is low.
43 #schedule = low_diskspace,5,60,close_low_diskspace=100M
44
45 # Stop torrents when reaching upload ratio in percent,
46 # when also reaching total upload in bytes, or when
47 # reaching final upload ratio in percent.
48 # example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
49 #schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
50
51 # The ip address reported to the tracker.
52 #ip = 127.0.0.1
53 #ip = rakshasa.no
54
55 # The ip address the listening socket and outgoing connections is
56 # bound to.
57 #bind = 127.0.0.1
58 #bind = rakshasa.no
59 bind=10.60.0.240
60
61 # Port range to use for listening.
62 #port_range = 6890-6999
63
64 # Start opening ports at a random position within the port range.
65 #port_random = no
66
67 # Check hash for finished torrents. Might be usefull until the bug is
68 # fixed that causes lack of diskspace not to be properly reported.
69 #check_hash = no
70
71 # Set whetever the client should try to connect to UDP trackers.
72 #use_udp_trackers = yes
73
74 # Alternative calls to bind and ip that should handle dynamic ip's.
75 #schedule = ip_tick,0,1800,ip=rakshasa
76 #schedule = bind_tick,0,1800,bind=rakshasa
77
78 # Encryption options, set to none (default) or any combination of the following:
79 # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
80 #
81 # The example value allows incoming encrypted connections, starts unencrypted
82 # outgoing connections but retries with encryption if they fail, preferring
83 # plaintext to RC4 encryption after the encrypted handshake
84 #
85 # encryption = allow_incoming,enable_retry,prefer_plaintext
86
87 # Enable DHT support for trackerless torrents or when all trackers are down.
88 # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
89 # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
90 # The default is "off". For DHT to work, a session directory must be defined.
91
92 # dht = auto
93
94 # UDP port to use for DHT. 
95
96 # dht_port = 6881
97
98 # Enable peer exchange (for torrents not marked private)
99 #
100 peer_exchange = yes
101
102 #
103 # Do not modify the following parameters unless you know what you're doing.
104 #
105
106 # Hash read-ahead controls how many MB to request the kernel to read
107 # ahead. If the value is too low the disk may not be fully utilized,
108 # while if too high the kernel might not be able to keep the read
109 # pages in memory thus end up trashing.
110 #hash_read_ahead = 10
111
112 # Interval between attempts to check the hash, in milliseconds.
113 #hash_interval = 100
114
115 # Number of attempts to check the hash while using the mincore status,
116 # before forcing. Overworked systems might need lower values to get a
117 # decent hash checking rate.
118 #hash_max_tries = 10