# Downloads the URIs listed in FILE input-file=/data/aria2/aria2.session
# Log file log=/data/aria2/aria2.log
# Maximum mumber of parallel downloads # Default 2 max-concurrent-downloads=10
# Continue downloading a partially downloaded file continue=true
# HTTP/FTP/SFTP Options
# Set the connect timeout in seconds to establish connection to # HTTP/FTP/proxy server # default 60 connect-timeout=60
# Close connection if download speed is lower than or equal to # this value(bytes per sec) lowest-speed-limit=0
# The maximum number of connections to one server for each download max-connection-per-server=5
# Set number of tries max-tries=5
min-split-size=20M
# Download a file using N connections. split=5
# Set timeout in seconds # Default 60 timeout=30
# BitTorrent Specific Options
# Enable Local Peer Discovery. If a private flag is set in a torrent, # aria2 doesn't use this feature for that download even if true is given. bt-enable-lpd=true
# If true is given, after hash check using --check-integrity option and # file is complete, continue to seed file. bt-hash-check-seed=true
# Specify maximum number of files to open in multi-file # BitTorrent/Metalink download globally. bt-max-open-files=100
# Specify the maximum number of peers per torrent. 0 means unlimited. bt-max-peers=55
# Download meta data only. # The file(s) described in meta data will not be downloaded. bt-metadata-only=false
# Set minimum level of encryption method. # If several encryption methods are provided by a peer, aria2 chooses # the lowest one which satisfies the given level. bt-min-crypto-level=plain
# Removes the unselected files when download is completed in BitTorrent. bt-remove-unselected-file=false
# If true is given, aria2 doesn't accept and establish connection with # legacy BitTorrent handshake(\19BitTorrent protocol). # Thus aria2 always uses Obfuscation handshake bt-require-crypto=true
# If the whole download speed of every torrent is lower than SPEED, # aria2 temporarily increases the number of peers to try for more # download speed. bt-request-peer-speed-limit=50K
# Save meta data as ".torrent" file. bt-save-metadata=false
# Seed previously downloaded files without verifying piece hashes bt-seed-unverified=false
# Stop BitTorrent download if download speed is 0 in consecutive SEC # seconds bt-stop-timeout=0
# Comma separated list of additional BitTorrent tracker's announce URI. bt-tracker=<BT tracker list>
# Set the connect timeout in seconds to establish connection to tracker. bt-tracker-connect-timeout=60
# Change the IPv4 DHT routing table file to PATH. # Default: $HOME/.aria2/dht.dat dht-file-path=/data/aria2/dht.dat
# Change the IPv6 DHT routing table file to PATH. # Default: $HOME/.aria2/dht6.dat #dht-file-path6=<PATH> dht-file-path6=/data/aria2/dht6.dat
# If true or mem is specified, when a file whose suffix is .torrent or # content type is application/x-bittorrent is downloaded, aria2 parses # it as a torrent file and downloads files mentioned in it. # If mem is specified, a torrent file is not written to the disk, # but is just kept in memory. # If false is specified, the .torrent file is downloaded to the disk, # but is not parsed as a torrent and its contents are not downloaded. follow-torrent=true
# Set TCP port number for BitTorrent downloads. listen-port=6881-6999
# Set max overall upload speed in bytes/sec. # 0 means unrestricted. max-overall-upload-limit=0
# Set max upload speed per each torrent in bytes/sec. # 0 means unrestricted. max-upload-limit=0
# Specify share ratio. # Seed completed torrents until share ratio reaches RATIO. seed-ratio=1.0
# Specify seeding time in minutes seed-time=120
# RPC Options
# Enable JSON-RPC/XML-RPC server. # It is strongly recommended to set secret authorization token # using --rpc-secret option. enable-rpc=true
# Add Access-Control-Allow-Origin header field with value * to # the RPC response. rpc-allow-origin-all=true
# Listen incoming JSON-RPC/XML-RPC requests on all network interfaces rpc-listen-all=true
# Specify a port number for JSON-RPC/XML-RPC server to listen to # Possible port 1024 - 65535 # rpc 默认端口是 6800,可以自行修改 rpc-listen-port=6800
# Set RPC secret authorization token. rpc-secret=your-rpc-token
# Advanced Options
# Restart download from scratch if the corresponding control file # doesn't exist allow-overwrite=false
# If false is given, aria2 aborts download when a piece length is # different from one in a control file. # If true is given, you can proceed but some download progress # will be lost. allow-piece-length-change=false
# Always resume download. always-resume=true
# Rename file name if the same file already exists # This option works only in HTTP(S)/FTP download auto-file-renaming=true
# Save a control file(*.aria2) every SEC seconds # Default 60 auto-save-interval=300
# Download file only when the local file is older than remote file. # This function only works with HTTP(S) downloads only. conditional-get=false
# Change the configuration file path to PATH conf-path=/home/pi/.aria2/aria2.conf
# Set log level to output to console. # LEVEL is either debug, info, notice, warn or error console-log-level=warn
# Run as daemon. # The current working directory will be changed to / and standard input, # standard output and standard error will be redirected to /dev/null daemon=true
# If true is given, aria2 does not read all URIs and options from file # specified by --input-file option at startup, but it reads one by one # when it needs later. This may reduce memory usage if input file # contains a lot of URIs to download. # If false is given, aria2 reads all URIs and options at startup. # Default: false deferred-input=false
# Disable IPv6. # This is useful if you have to use broken DNS and want to avoid # terribly slow AAAA record lookup. # Default: false disable-ipv6=false
# Enable disk cache. # If SIZE is 0, the disk cache is disabled. # This feature caches the downloaded data in memory, which grows to # at most SIZE bytes. The cache storage is created for aria2 instance # and shared by all downloads. disk-cache=32M
# This option changes the way Download Results is formatted. download-result=default
# Set DSCP value in outgoing IP packets of BitTorrent traffic for QoS. # This parameter sets only DSCP bits in TOS field of IP packets, not # the whole field. #dscp=
# Enable color output for a terminal. enable-color=true
# Map files into memory. # This option may not work if the file space is not pre-allocated enable-mmap=false
# Save download with --save-session option even if the download is # completed or removed. # This option also saves control file in that situations. # This may be useful to save BitTorrent seeding which is recognized # as completed state force-save=false
# If true is given, after hash check using --check-integrity option, # abort download whether or not download is complete. hash-check-only=false
# Print sizes and speed in human readable format (e.g., 1.2Ki, 3.4Mi) # in the console readout. human-readable=true
# Set maximum number of download result kept in memory. # The download results are completed/error/removed downloads. # The download results are stored in FIFO queue and it can store at most # NUM download results. # When queue is full and new download result is created, oldest download # result is removed from the front of the queue and new one is pushed to # the back. # Setting big number in this option may result high memory consumption # after thousands of downloads. # Specifying 0 means no download result is kept. # Default: 1000 max-download-result=200
# When used with --always-resume=false, aria2 downloads file from scratch # when aria2 detects N number of URIs that does not support resume. # If N is 0, aria2 downloads file from scratch when all given URIs do # not support resume. See --always-resume option. # Default: 0 max-resume-failure-tries=0
# Set log level to output. # LEVEL is either debug, info, notice, warn or error. # Default: debug log-level=notice
# Set a piece length for HTTP/FTP downloads. # This is the boundary when aria2 splits a file. # All splits occur at multiple of this length. # This option will be ignored in BitTorrent downloads. # It will be also ignored if Metalink file contains piece hashes. piece-length=1M
# Show console readout show-console-readout=true
# Set interval in seconds to output download progress summary. # Setting 0 suppresses the output. # Default: 60 summary-interval=120
# Fetch URIs in the command-line sequentially and download each URI in # a separate session, like the usual command-line download utilities. force-sequential=false
# Set max overall download speed in bytes/sec. # 0 means unrestricted. You can append K or M (1K = 1024, 1M = 1024K). # To limit the download speed per download, use --max-download-limit # option max-overall-download-limit=0
# Set max download speed per each download in bytes/sec. # 0 means unrestricted. You can append K or M (1K = 1024, 1M = 1024K). # To limit the overall download speed, use --max-overall-download-limit # option max-download-limit=0
# Enable parameterized URI support. parameterized-uri=true
# Validate chunk of data by calculating checksum while downloading # a file if chunk checksums are provided. # Default: true realtime-chunk-checksum=true
# Save error/unfinished downloads to FILE on exit. # save-session=/data/Downloads/aria2.session save-session=/data/aria2/aria2.session
# Save error/unfinished downloads to a file specified by --save-session # option every SEC seconds. # If 0 is given, file will be saved only when aria2 exits. save-session-interval=600
# Stop application after SEC seconds has passed. # If 0 is given, this feature is disabled. stop=0
# Truncate console readout to fit in a single line. truncate-console-readout=true