Ticket #1112: rtorrent.2.rc

File rtorrent.2.rc, 4.6 KB (added by alberkman@gmail.com, 4 years ago)

excuse, this is the file that gives the problem, rtorrent: Error in option file: ~/.rtorrent.rc:28: Junk at end of input.

Line 
1# This is an example resource file for rTorrent. Copy to
2# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
3# uncomment the options you wish to enable.
4#
5# Based on original .rtorrent.rc file from http://libtorrent.rakshasa.no/
6# Modified by Lemonberry for rtGui http://rtgui.googlecode.com/
7#
8# This assumes the following directory structure:
9#
10# /Torrents/Downloading - temporaray location for torrents while downloading (see "directory")
11# /Torrents/Complete - Torrents are moved here when complete (see "on_finished")
12# /Torrents/TorrentFiles/Auto - The 'autoload' directory for rtorrent to use.  Place a file
13#           in here, and rtorrent loads it #automatically.  (see "schedule = watch_directory")
14# /Torrents/Downloading/rtorrent.session - for storing rtorrent session information
15#
16# Maximum and minimum number of peers to connect to per torrent.
17#min_peers = 40
18#max_peers = 100
19# Same as above but for seeding completed torrents (-1 = same as downloading)
20#min_peers_seed = 10
21#max_peers_seed = 50
22# Maximum number of simultanious uploads per torrent.
23#max_uploads = 15
24# Global upload and download rate in KiB. "0" for unlimited.
25#download_rate = 0
26#upload_rate = 0
27# Default directory to save the downloaded torrents.
28#directory = /media/disco160/torrents/Downloading
29# Default session directory. Make sure you don't run multiple instance
30# of rtorrent using the same session directory. Perhaps using a
31# relative path?
32session = /media/disco160/torrents/Downloading/rtorrent.session
33# Watch a directory for new torrents, and stop those that have been
34# deleted.
35schedule = watch_directory,5,5,load_start=/media/disco160/torrents/TorrentFiles/Auto/*.torrent
36schedule = untied_directory,5,5,stop_untied=
37# Close torrents when diskspace is low. */
38#schedule = low_diskspace,5,60,close_low_diskspace=100M
39# Stop torrents when reaching upload ratio in percent,
40# when also reaching total upload in bytes, or when
41# reaching final upload ratio in percent.
42# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
43#schedule = ratio,60,60,stop_on_ratio=200,200M,2000
44execute_log = /var/www/alberkman/rtorrent.log
45# When the torrent finishes, it executes "mv -n <base_path> ~/Download/"
46# and then sets the destination directory to "~/Download/". (0.7.7+)
47on_finished = move_complete,"execute=mv,-u,$d.get_base_path=,/media/disco160/torrents/Complete/ ;d.set_directory=/media/disco160/torrents/Complete/"
48# The ip address reported to the tracker.
49#ip = 127.0.0.1
50#ip = rakshasa.no
51# The ip address the listening socket and outgoing connections is
52# bound to.
53#bind = 127.0.0.1
54#bind = rakshasa.no
55# Port range to use for listening.
56port_range = 55556-55560
57scgi_port = 127.0.0.1:5000
58# Start opening ports at a random position within the port range.
59#port_random = no
60# Check hash for finished torrents. Might be usefull until the bug is
61# fixed that causes lack of diskspace not to be properly reported.
62#check_hash = no
63# Set whetever the client should try to connect to UDP trackers.
64use_udp_trackers = yes
65# Alternative calls to bind and ip that should handle dynamic ip's.
66#schedule = ip_tick,0,1800,ip=rakshasa
67#schedule = bind_tick,0,1800,bind=rakshasa
68# Encryption options, set to none (default) or any combination of the following:
69# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
70#
71# The example value allows incoming encrypted connections, starts unencrypted
72# outgoing connections but retries with encryption if they fail, preferring
73# plaintext to RC4 encryption after the encrypted handshake
74#
75encryption = allow_incoming,enable_retry,prefer_plaintext
76#
77# Do not modify the following parameters unless you know what you're doing.
78#
79# Hash read-ahead controls how many MB to request the kernel to read
80# ahead. If the value is too low the disk may not be fully utilized,
81# while if too high the kernel might not be able to keep the read
82# pages in memory thus end up trashing.
83#hash_read_ahead = 10
84# Interval between attempts to check the hash, in milliseconds.
85#hash_interval = 100
86# Number of attempts to check the hash while using the mincore status,
87# before forcing. Overworked systems might need lower values to get a
88# decent hash checking rate.
89#hash_max_tries = 10
90# Max number of files to keep open simultaniously.
91#max_open_files = 128
92# Number of sockets to simultaneously keep open.
93#max_open_sockets = <no default>
94# Example of scheduling commands: Switch between two ip's every 5
95# seconds.
96#schedule = "ip_tick1,5,10,ip=torretta"
97#schedule = "ip_tick2,10,10,ip=lampedusa"
98# Remove a scheduled event.
99#schedule_remove = "ip_tick1"