V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
nbweb
V2EX  ›  问与答

transmission 配置求助

  •  
  •   nbweb · 2020-08-23 08:57:54 +08:00 · 1308 次点击
    这是一个创建于 1564 天前的主题,其中的信息可能已经有所发展或是发生改变。
    debian 10.05 在线 apt-get install transmission-daemon 2.94
    debian 挂载了一个 raid 1,/dev/md0,下载目录在阵列硬盘里。

    {
    "alt-speed-down": 8000,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 60,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": true,
    "alt-speed-time-end": 360,
    "alt-speed-up": 1200,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "blocklist-url": "http://www.example.com/blocklist",
    "cache-size-mb": 4,
    "dht-enabled": true,
    "download-dir": "/mnt/Public/download",
    "download-limit": 100,
    "download-limit-enabled": 0,
    "download-queue-enabled": true,
    "download-queue-size": 5,
    "encryption": 1,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/mnt/Public/download",
    "incomplete-dir-enabled": false,
    "lpd-enabled": false,
    "max-peers-global": 200,
    "message-level": 1,
    "peer-congestion-algorithm": "",
    "peer-id-ttl-hours": 6,
    "peer-limit-global": 200,
    "peer-limit-per-torrent": 50,
    "peer-port": 51413,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": "default",
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "prefetch-enabled": true,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 2,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-host-whitelist": "",
    "rpc-host-whitelist-enabled": false,
    "rpc-password": "admin",
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-username": "admin",
    "rpc-whitelist": "0.0.0.0",
    "rpc-whitelist-enabled": false,
    "scrape-paused-torrents-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "seed-queue-enabled": false,
    "seed-queue-size": 10,
    "speed-limit-down": 52000,
    "speed-limit-down-enabled": true,
    "speed-limit-up": 1000,
    "speed-limit-up-enabled": true,
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 0,
    "upload-limit": 100,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 14,
    "utp-enabled": true,
    "watch-dir-enabled": true
    }

    问题是:

    每次重启 debian,transmission 的种子是暂停状态,不自动下载,非要手动去点全部开始才行。

    另,在 systemctl 里面,把 transmission 延迟 60 秒启动了,以防找不到硬盘的情况。
    求助。
    6 条回复    2020-08-23 13:35:07 +08:00
    nbweb
        1
    nbweb  
    OP
       2020-08-23 09:16:09 +08:00
    有点奇怪的是,之前挂载单个硬盘时,也是这个配置,重启后就可以自动运行种子,不需要手动去点一下开始。

    换成阵列硬盘就不行了。
    wd
        2
    wd  
       2020-08-23 11:27:33 +08:00 via iPhone
    是不是程序启动的时候你的硬盘还没有挂载好,所以不能开始。
    wd
        3
    wd  
       2020-08-23 11:28:48 +08:00 via iPhone
    哦 再多延迟下看看 你都可以试试看 就这个配置你直接重启软件模拟下机器重启是否可以自动开始
    toaruScar
        4
    toaruScar  
       2020-08-23 12:11:32 +08:00 via iPhone
    不用加延迟 60s,加个 Requires 就行了,目标是由 fstab 生成的你磁盘.mount 服务
    你可以再看看 transmission 的输出
    nbweb
        5
    nbweb  
    OP
       2020-08-23 12:17:26 +08:00 via Android
    @wd 之前确实 tm 启动比较早,找不到硬物,显示找不到数据,我把 tm 启动延迟了,可以找到硬盘了,但种子还是暂停。
    nbweb
        6
    nbweb  
    OP
       2020-08-23 13:35:07 +08:00
    @toaruScar
    @wd

    莫名其妙的又好了,reboot 了几次 debian,发现开机种子可以自动运行了,真是奇怪。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1039 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 19:34 · PVG 03:34 · LAX 11:34 · JFK 14:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.