mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 13:27:36 +08:00
24 lines
710 B
Plaintext
24 lines
710 B
Plaintext
|
|
# You can use most aria2 command-line options, replace '-' with '_'.
|
|
# eg. 'rpc-secret' ==> 'rpc_secret'
|
|
#
|
|
# We do not support all options at this time. But you can add any option
|
|
# with 'list extra_settings'.
|
|
#
|
|
# You can also add new config sections to define multi instance.
|
|
#
|
|
config aria2 'main'
|
|
option enabled '0'
|
|
option user 'aria2'
|
|
option dir '/mnt/sda1/aria2'
|
|
option config_dir '/var/etc/aria2'
|
|
option bt_enable_lpd 'true'
|
|
option enable_dht 'true'
|
|
option follow_torrent 'true'
|
|
option file_allocation 'none'
|
|
option save_session_interval '30'
|
|
option split '128'
|
|
option min_split_size '100K'
|
|
option max_connection_per_server '128'
|
|
list extra_settings 'dht-file-path=/usr/share/aria2/dht.dat'
|