GithubHelp home page GithubHelp logo

Comments (3)

pansila avatar pansila commented on May 26, 2024

在"aria2.conf"中添加enable-rpc=true后aria2-pro可以一直后台运行而不重启了,虽然不知道为啥这不是默认打开的。

补充:
对比了下我的docker里面自动生成的aria2.conf和aria2.conf仓库里的配置,发现后面一小段丢了(rpc设置就在这),不知道是不是bug。这里附上希望作者看到。
aria2.txt

from aria2-pro-docker.

pansila avatar pansila commented on May 26, 2024

搜了下跟#99 这个问题一样,另一个类似的是#115,可能是第一次启动时下载配置文件出错了(curl timeout),残留了不完整的aria2.conf。特别是这个配置最后有个enable-rpc的选项,如果没有的话,aria2就是一次性启动并下载,而不是在后台监听rpc,由于没有实际传入下载连接,会导致看到的现象就是启动后马上退出,然后docker不停重启。

另一种可能是下载没问题,后续conversion替换有某些bug把文件破坏了。

from aria2-pro-docker.

pansila avatar pansila commented on May 26, 2024

虽然不清楚为啥会出现文件破损,但是也许可以加强下检查,比如在init-base里面有很多conversion修改,可以在sed的时候判读下是否替换成功,否则可能就出现了配置项缺少,意味着文件残缺,继续retry download。

PS: 一个sed检查替换是否成功的办法

from aria2-pro-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.