|
升级rtorrent 0.8.4后配置文件的修改
升级完rtorrent 0.8.4后,运行screen -r会出现 “不支持的stop_on_ratio命令” 的错误提示,这是因为这个版本的ratio处理机制产生了变化,需要重新配置ratio处理策略。
编辑配置文件:
找到 schedule = ratio,60,60,"stop_on_ratio=200,50M,300" 或者类似的语句(如果你改过ratio策略),这句话的意思是如果上传和下载的比率超过200%就停止任务,如果上传比率到了200%,但是上传总量小于50M,还是会继续上传,直到上传量达到50M或者上传率达到了300%就会停止。
因为 0.8.4 不再支持 stop_on_ratio 命令,所以如果要使用这个功能必须进行如下配置修改:
第一步:注释原命令
在 schedule = ratio,60,60,"stop_on_ratio=200,50M,300" 前加 #,变为
# schedule = ratio,60,60,"stop_on_ratio=200,50M,300"
第二步:加入新的ratio配置,在上面一行后面增加以下配置命令:
# Enable the default ratio group.
ratio.enable=
# Change the limits, the defaults should be sufficient.
ratio.min.set=100
ratio.max.set=300
ratio.upload.set=50M
# Changing the command triggered when the ratio is reached.
system.method.set = group.seeding.ratio.command, d.close=, d.erase=
这个功能和原有功能是相同的,上面具体参数可以根据你的需要进行调整。
第三步:按esc进入命令模式, 按:wq存盘退出,重启rtorrent就不会报错了。 |
|