Skip to content

Instantly share code, notes, and snippets.

@SuoXC
Created September 14, 2018 15:03
Show Gist options
  • Save SuoXC/93f8833fbd84c1dee42f7608d38de001 to your computer and use it in GitHub Desktop.
Save SuoXC/93f8833fbd84c1dee42f7608d38de001 to your computer and use it in GitHub Desktop.
aria2 downloader on manjaro linux
enable-rpc=true
rpc-allow-origin-all=true
rpc-listen-all=true
#rpc-secret=xiaocong
dir=/home/suo/下载/aria2
#是否启用https加密,启用之后要设置公钥,私钥的文件路径
#rpc-secure=true
#启用加密设置公钥
#rpc-certificate=/home/name/.config/aria2/example.crt
#启用加密设置私钥
#rpc-private-key=/home/name/.config/aria2/example.key
#RPC端口, 仅当默认端口被占用时修改
#rpc-listen-port=6800
#最大同时下载数(任务数), 路由建议值: 3
max-concurrent-downloads=5
#断点续传
continue=true
#同服务器连接数
max-connection-per-server=5
#最小文件分片大小, 下载线程数上限取决于能分出多少片, 对于小文件重要
min-split-size=10M
#单文件最大线程数, 路由建议值: 5
split=20
#下载速度限制
max-overall-download-limit=0
#单文件速度限制
max-download-limit=0
#上传速度限制
max-overall-upload-limit=0
#不进行证书校验
check-certificate=false
[Unit]
Description=Aria2 Downloader
[Service]
User=suo
Group=suo
ExecStart=/usr/bin/aria2c
[Install]
WantedBy=multi-user.target
YAAW for Chrome
网盘助手
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment