Hsing-Wang Liao
df615166ba
aria2: Add missing 'or' in section validate function
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
7 years ago
Hsing-Wang Liao
961a1b5190
aria2: Rewrite init script
* Add aria2 user and group.
* Use procd to start service.
* Add more supported options.
Compatible with previous version.
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
7 years ago
Hsing-Wang Liao
335e32681f
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>
8 years ago
Hostkit
f96c661e27
aria2: add log
add aria2.log and replace logger -t ARIA2C 'Restarting aria2s service' with logger -t ARIA2C 'Restarting aria2c service' :D :p
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years ago
Hsing-Wang Liao
5246efe3d8
aria2: update init file
This update is from #2961 , thank @hostkit .
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years ago
Hsing-Wang Liao
8ee05d3f05
aria2: Add files in order to use LuCI
* Add config file.
* Add init.d file.
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
9 years ago