Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | Aria2: Config tweak/fix #2538

Merged
merged 2 commits into from
Feb 11, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -11107,12 +11107,12 @@ _EOF_
G_BACKUP_FP /var/lib/dietpi/dietpi-software/installed/aria2.conf
cat << _EOF_ > /var/lib/dietpi/dietpi-software/installed/aria2.conf
# host is where aria2c is running on
host=localhost
# host=localhost
dir=$G_FP_DIETPI_USERDATA/$FOLDER_DOWNLOADS

# cleanup_policy
cleanup-policy=clean_got
cleanup-percent=90%
# cleanup-policy=clean_got
# cleanup-percent=90%

# The fallowing options are aria2c options as usual aria2.conf file
# https://aria2.github.io/manual/en/html/aria2c.html
Expand All @@ -11122,6 +11122,7 @@ enable-rpc=true
rpc-listen-all=true
rpc-listen-port=6800
rpc-secret=$GLOBAL_PW
rpc-allow-origin-all=true
pause=false

# General Options
Expand All @@ -11148,18 +11149,18 @@ max-download-limit=0
seed-ratio=0.1
seed-time=0

metalink-servers=$(Optimize_BitTorrent 2)
# metalink-servers=$(Optimize_BitTorrent 2)
allow-overwrite=false
always-resume=true
auto-file-renaming=false
file-allocation=none

MichaIng marked this conversation as resolved.
Show resolved Hide resolved
[limit-options]
# [limit-options]
max-concurrent-downloads=$(Optimize_BitTorrent 1)
max-overall-download-limit=1000K
max-overall-upload-limit=100K

[unlimit-options]
# [unlimit-options]
max-concurrent-downloads=$(Optimize_BitTorrent 1)
max-overall-download-limit=0
max-overall-upload-limit=0
Expand Down