mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-04 21:29:21 +00:00
Updated CONFIG Template (markdown)
+5
-10
@@ -74,8 +74,6 @@ network.port_random.set = no
|
||||
dht.mode.set = disable
|
||||
protocol.pex.set = no
|
||||
|
||||
trackers.use_udp.set = no
|
||||
|
||||
|
||||
## Peer settings
|
||||
throttle.max_uploads.set = 100
|
||||
@@ -93,10 +91,8 @@ protocol.encryption.set = allow_incoming,try_outgoing,enable_retry
|
||||
## Limits for file handle resources, this is optimized for
|
||||
## an `ulimit` of 1024 (a common default). You MUST leave
|
||||
## a ceiling of handles reserved for rTorrent's internal needs!
|
||||
network.http.max_open.set = 50
|
||||
network.max_open_files.set = 600
|
||||
network.max_open_sockets.set = 300
|
||||
|
||||
# Deprecated, see: https://github.com/rakshasa/rtorrent/wiki/Socket-Manager-and-Resource-Allocation
|
||||
|
||||
## Memory resource usage (increase if you have a large number of items loaded,
|
||||
## and/or the available resources to spend)
|
||||
@@ -114,11 +110,10 @@ execute.nothrow = sh, -c, (cat, "echo >",\
|
||||
|
||||
|
||||
## Other operational settings (check & adapt)
|
||||
encoding.add = UTF-8
|
||||
system.umask.set = 0027
|
||||
system.cwd.set = (directory.default)
|
||||
network.http.dns_cache_timeout.set = 25
|
||||
schedule2 = monitor_diskspace, 15, 60, ((close_low_diskspace, 1000M))
|
||||
schedule = monitor_diskspace, 15, 60, ((close_low_diskspace, 1000M))
|
||||
#pieces.hash.on_completion.set = no
|
||||
#view.sort_current = seeding, greater=d.ratio=
|
||||
#keys.layout.set = qwerty
|
||||
@@ -139,9 +134,9 @@ method.insert = d.session_file, simple, "cat=(session.path), (d.hash), .torrent"
|
||||
|
||||
## Watch directories (add more as you like, but use unique schedule names)
|
||||
## Add torrent
|
||||
schedule2 = watch_load, 11, 10, ((load.verbose, (cat, (cfg.watch), "load/*.torrent")))
|
||||
schedule = watch_load, 11, 10, ((load.verbose, (cat, (cfg.watch), "load/*.torrent")))
|
||||
## Add & download straight away
|
||||
schedule2 = watch_start, 10, 10, ((load.start_verbose, (cat, (cfg.watch), "start/*.torrent")))
|
||||
schedule = watch_start, 10, 10, ((load.start_verbose, (cat, (cfg.watch), "start/*.torrent")))
|
||||
|
||||
|
||||
## Run the rTorrent process as a daemon in the background
|
||||
@@ -160,4 +155,4 @@ log.add_output = "info", "log"
|
||||
#log.add_output = "tracker_debug", "log"
|
||||
|
||||
### END of rtorrent.rc ###
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user