Created
July 8, 2015 13:16
-
-
Save isDipesh/dd8402c04a52947e36bf to your computer and use it in GitHub Desktop.
pacman and aria2 configuration
This file contains hidden or 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
# good balance between details and readability : https://bbs.archlinux.org/viewtopic.php?pid=1491879#p1491879 #archlinux | |
# vim /etc/pacman.conf | |
# XferCommand = echo Downloading %u ... && /usr/bin/aria2c --conf-path=/root/.aria2/pacman-aria2.conf %u | |
# /root/.aria2/pacman-aria2.conf | |
connect-timeout=30 | |
max-tries=5 | |
retry-wait=10 | |
max-file-not-found=1 | |
# downloading | |
split=3 | |
max-connection-per-server=3 | |
min-split-size=1M | |
max-concurrent-downloads=1 | |
file-allocation=none | |
remote-time=true | |
conditional-get=true | |
no-netrc=true | |
# resuming | |
continue=true | |
allow-overwrite=true | |
always-resume=false | |
# proxy | |
#http-proxy=127.0.0.1:8080 | |
#https-proxy=127.0.0.1:8080 | |
#ftp-proxy=127.0.0.1:8080 | |
# console | |
#quiet=true | |
console-log-level=warn | |
summary-interval=0 | |
#enable-color=false | |
#human-readable=false | |
#show-console-readout=false | |
#truncate-console-readout=false | |
# logging | |
log-level=warn | |
log=/var/log/pacman-aria2.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment