aria2: fix bugs and make some changes

* Fix aria2c failed to start after change daemon user, issue #2985;
* Change default download dir;
* Clear exist log file when aria2 start;
* Add log level option;
* Change dir owner when start.

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
This commit is contained in:
Hsing-Wang Liao
2016-07-24 15:56:45 +08:00
parent 02ff46022f
commit 335e32681f
3 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -6,5 +6,5 @@ config aria2 'main'
option enable_dht 'true'
option follow_torrent 'true'
option user 'root'
option dir '/mnt/sda1'
option dir '/mnt/sda1/aria2'
option save_session_interval '30'