搭建Aria2服务端


  1. 安装
yum install -y aria2

2. 配置开机启动

# /etc/systemd/system/aria2.service
[Unit]
Description=aria2
After=network.target

[Service]
Type=simple
ExecStart=/usr/local/bin/aria2c --conf-path=/usr/local/aria2/aria2.conf
User=www
Group=www

[Install]
WantedBy=network.target

3. 启用服务

systemctl enable aria2
systemctl start aria2