Skip to content

Instantly share code, notes, and snippets.

@wisicn
Forked from wangyan/.rtorrent.rc
Last active August 29, 2015 14:07

Revisions

  1. wisicn revised this gist Oct 21, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion .rtorrent.rc
    Original file line number Diff line number Diff line change
    @@ -95,4 +95,5 @@ peer_exchange = yes
    # Number of attempts to check the hash while using the mincore status,
    # before forcing. Overworked systems might need lower values to get a
    # decent hash checking rate.
    #hash_max_tries = 10
    #hash_max_tries = 10
    scgi_port = localhost:5000
  2. wisicn revised this gist Oct 21, 2014. 1 changed file with 6 additions and 5 deletions.
    11 changes: 6 additions & 5 deletions .rtorrent.rc
    Original file line number Diff line number Diff line change
    @@ -18,15 +18,15 @@
    #upload_rate = 0

    # 设定默认保存 torrents 的目录
    #directory = ~/rtorrent/download/
    directory = /export/bt/download/

    # 默认会话目录. 确保你没有同时运行使用相同会话目录的 rTorrent 程序.
    # 或者是否使用了一个相对路径?
    #session = ~/rtorrent/.session
    session = /export/bt/.session

    # 设置种子监控目录,新种子自动下载,移除种子自动停止下载。
    #schedule = watch_directory,5,5,load_start=~/rtorrent/.watch/*.torrent
    #schedule = untied_directory,5,5,stop_untied=
    schedule = watch_directory,5,5,load_start=/export/bt/watch/*.torrent
    schedule = untied_directory,5,5,stop_untied=

    # 当磁盘空间不足时停止下载
    #schedule = low_diskspace,5,60,close_low_diskspace=100M
    @@ -69,14 +69,15 @@
    # 默认值为 "off",若要使DHT工作,会话目录必须被定义
    #
    #dht = disable
    dht = auto

    # DHT网络所使用的UDP端口
    #
    # dht_port = 6881

    # 启用peer交换 (用于那些没有被标记为私有的torrent)
    #
    # peer_exchange = yes
    peer_exchange = yes

    #
    # 不要修改下面参数内容,除非你知道自己在做什么。
  3. wangyan created this gist Oct 30, 2011.
    97 changes: 97 additions & 0 deletions .rtorrent.rc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,97 @@
    # 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.

    # 每个种子所允许的最小最大连接数
    #min_peers = 40
    #max_peers = 100

    # 同上,但仅针对已完成的种子(-1 表示与下载中的种子一致)
    #min_peers_seed = 10
    #max_peers_seed = 50

    # 每个种子最大同时上传数
    #max_uploads = 15

    # 全局最大上传和下载速率(单位:KiB),"0"表示无限制
    #download_rate = 0
    #upload_rate = 0

    # 设定默认保存 torrents 的目录
    #directory = ~/rtorrent/download/

    # 默认会话目录. 确保你没有同时运行使用相同会话目录的 rTorrent 程序.
    # 或者是否使用了一个相对路径?
    #session = ~/rtorrent/.session

    # 设置种子监控目录,新种子自动下载,移除种子自动停止下载。
    #schedule = watch_directory,5,5,load_start=~/rtorrent/.watch/*.torrent
    #schedule = untied_directory,5,5,stop_untied=

    # 当磁盘空间不足时停止下载
    #schedule = low_diskspace,5,60,close_low_diskspace=100M

    # The ip address reported to the tracker.
    #ip = 127.0.0.1
    #ip = rakshasa.no

    # The ip address the listening socket and outgoing connections is
    # bound to.
    #bind = 127.0.0.1
    #bind = rakshasa.no

    # 监听端口范围
    #port_range = 6890-6999

    # 从监听端口范围随机选择开放的端口
    #port_random = no

    # 下载完成后进行校验。
    #check_hash = no

    # 设置客户端是否尝试连接 UDP trackers
    #use_udp_trackers = yes

    # Alternative calls to bind and ip that should handle dynamic ip's.
    #schedule = ip_tick,0,1800,ip=rakshasa
    #schedule = bind_tick,0,1800,bind=rakshasa

    # 加密选项,设为 none(默认情况)或下面的任何一个:
    # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
    #
    # 如下例中的值表示允许入站连接加密,出站连接开始时以非加密方式进行,
    # 如行不通则以加密方式进行重试,在加密握手后,优先选择将纯文本RC4方式加密
    #
    #encryption = allow_incoming,enable_retry,prefer_plaintext

    # 当所有trackers失效情况下,为trackerless torrents开启DHT支持
    # 可选值 "disable"(完全禁止),"off"(不启动),"auto"(按需要启动或停止),"on" (开启)
    # 默认值为 "off",若要使DHT工作,会话目录必须被定义
    #
    #dht = disable

    # DHT网络所使用的UDP端口
    #
    # dht_port = 6881

    # 启用peer交换 (用于那些没有被标记为私有的torrent)
    #
    # peer_exchange = yes

    #
    # 不要修改下面参数内容,除非你知道自己在做什么。
    #

    # Hash read-ahead controls how many MB to request the kernel to read
    # ahead. If the value is too low the disk may not be fully utilized,
    # while if too high the kernel might not be able to keep the read
    # pages in memory thus end up trashing.
    #hash_read_ahead = 10

    # Interval between attempts to check the hash, in milliseconds.
    #hash_interval = 100

    # Number of attempts to check the hash while using the mincore status,
    # before forcing. Overworked systems might need lower values to get a
    # decent hash checking rate.
    #hash_max_tries = 10