Last active
July 29, 2023 17:44
-
-
Save Birdie0/7adb94425a8744c6b003df6d59fc5ad6 to your computer and use it in GitHub Desktop.
Aria2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=aria2 Daemon | |
After=network.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/aria2c --conf-path=%h/.config/aria2/aria2-server.conf | |
Restart=on-failure | |
[Install] | |
WantedBy=default.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# aria2 | |
input-file=${HOME}/.config/aria2/aria2.session | |
save-session=${HOME}/.config/aria2/aria2.session | |
save-session-interval=60 | |
force-save=true | |
quiet=true | |
# download | |
continue=true | |
dir=${HOME}/Downloads | |
max-connection-per-server=16 | |
max-concurrent-downloads=5 | |
optimize-concurrent-downloads=true | |
file-allocation=falloc | |
summary-interval=0 | |
# rpc | |
enable-rpc=true | |
rpc-listen-all=true | |
rpc-listen-port=6800 | |
rpc-secret=[insert secret here] | |
# torrents | |
bt-enable-lpd=true | |
check-integrity=true | |
seed-ratio=0.0 | |
listen-port=6881-6999 | |
dht-listen-port=6881-6999 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download | |
continue=true | |
max-connection-per-server=16 | |
max-concurrent-downloads=5 | |
optimize-concurrent-downloads=true | |
file-allocation=falloc | |
## on windows: | |
# file-allocation=none | |
summary-interval=0 | |
# torrents | |
bt-enable-lpd=true | |
check-integrity=true | |
seed-ratio=0.0 | |
listen-port=6881-6999 | |
dht-listen-port=6881-6999 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment