Merge pull request #4853 from StevenHessing/noddos
[feed/packages.git] / net / aria2 / files / aria2.conf
index e6d76171fc54f0e38fef2a6a7bb466091ccb52c7..108a30e012d853746501ecbc657e5403cdf6846b 100644 (file)
@@ -1,10 +1,31 @@
 
+# 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 file_allocation 'none'
+       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 user 'root'
-       option dir '/mnt/sda1/aria2'
+       option file_allocation 'none'
        option save_session_interval '30'
+
+       # Add addition Headers here.
+       # eg. list header 'Content-Encoding: gzip'
+       list header ''
+
+       # Add BT trackers here.
+       # eg. list bt_tracker 'http://tracker.example.com/announce'
+       list bt_tracker ''
+
+       # Add extra settings here.
+       # eg. list extra_settings 'option=value'
+       list extra_settings ''