Skip to content

Instantly share code, notes, and snippets.

@dinigo
Created December 14, 2014 17:56
Show Gist options
  • Save dinigo/d2d6bbacd3ba7b2c9bce to your computer and use it in GitHub Desktop.
Save dinigo/d2d6bbacd3ba7b2c9bce to your computer and use it in GitHub Desktop.
Aria2c config files and init scripts
# place under ${HOME}/.aria2/
# Daemonize, rpc and session save.
# The daemon is launched by the rpc query and
# stops when all downloads are completed.
continue
daemon=true
on-download-complete=exit
dir=/home/**youruser**/path/to/download/folder
save-session=/home/**youruser**/.aria2/session
input-file=/home/**youruser**/.aria2/session
max-concurrent-downloads=99999
seed-ratio=0
max-connection-per-server=4
bt-save-metadata
rpc-save-upload-metadata
enable-rpc=true
rpc-listen-all=true
rpc-user=**youruser**
rpc-passwd=**yourpassword**
rpc-listen-port=**yourport** # should be same as in the upstart script
# place under ${HOME}/.init/aria2.conf
# Starts aria2c daemon when the port 1234 is accesed
description "aria2 startup script"
start on socket PROTO=inet PORT=1234 # use the port you want
exec /usr/bin/aria2c
@vegetaz
Copy link

vegetaz commented May 3, 2019

How to use aria2c.conf on Windows 10?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment