transmission 配置求助

2020-08-23 08:57:54 +08:00
 nbweb
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 秒启动了,以防找不到硬盘的情况。
求助。
1304 次点击
所在节点    问与答
6 条回复
nbweb
2020-08-23 09:16:09 +08:00
有点奇怪的是,之前挂载单个硬盘时,也是这个配置,重启后就可以自动运行种子,不需要手动去点一下开始。

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

莫名其妙的又好了,reboot 了几次 debian,发现开机种子可以自动运行了,真是奇怪。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/700621

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX