rtorrent.rc
# 每一個 torrent 最小/最大連接數 # Maximum and minimum number of peers to connect to per torrent. min_peers = 10 max_peers = 200 # 每一個 torrent 最大上傳數量 # Maximum number of simultanious uploads per torrent. max_uploads = 10 # 上傳和下載速度限制 0:無限制 (KB/s) # Global upload and download rate in KiB. "0" for unlimited. download_rate = 50 upload_rate = 10 # 下載檔案存放目錄 # Default directory to save the downloaded torrents. directory = /mnt/share01/rtorrent/incoming # 下載快取目錄 session = /mnt/share01/rtorrent/temp # torrent 檔存放目錄, 並定時監控 schedule = watch_directory,5,5,load_start=/mnt/share01/rtorrent/torrent/*.torrent # 搬移已下載完成的檔案 ## 適用 0.8.2 以前版本 ## on_finished = move_complete,"d.set_directory=/mnt/share01/rtorrent/completed/ ;execute=mv,-n,$d.get_base_path=,/mnt/share01/rtorrent/completed/" ## 適用 0.8.3 以後版本 system.method.set_key = event.download.finished,move_complete,"execute=mv,-n,$d.get_base_path=,/mnt/share01/rtorrent/completed/ ;d.set_directory=/mnt/share01/rtorrent/completed/" # 監聽的 TCP port 範圍 port_range = 51001-52001 # 下載檔案名使用 UTF-8 編碼 encoding_list = UTF-8 # DHT 相關設定 (分佈式哈希表)(Distributed Hash Table) dht = auto dht_port = 6881 # 是否可以使用 UDP port 的 trackers # Set whetever the client should try to connect to UDP trackers. use_udp_trackers = no # Enable peer exchange (for torrents not marked private) peer_exchange = yes # 記錄檔存放路徑 #execute_log = /var/log/rtorrent.log # 定時檢查種子, 到達指定條件後停止做種 ## 適用 0.8.2 以前版本 ##schedule = ratio,60,60,"stop_on_ratio=200,50M,300" # check_hash = no