Jeffery To
3f247ef455
aria2: Update init script
...
This replaces the use of uci_validate_section() with
uci_load_validate(), which removes the need to declare local variables
for every config option.
This also lets procd trigger the validation function directly, and
removes some unnecessary curly brackets.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-03-28 00:05:43 +08:00
Ahmar Aftab
603382ceb3
aria2: Add new options and fix typos
...
Added new options for aria2 config and fixed some typos within aria2 init file.
Signed-off-by: Ahmar Aftab <pakahmar@hotmail.com>
2019-02-01 12:13:10 +05:00
James Qian
a07454d026
aria2: fix some typo
...
Signed-off-by: James Qian <sotux82@gmail.com>
2018-12-15 21:16:23 +08:00
brv phoenix
ed9514e93e
aria2: fixed the spelling for rpc-passwd and rpc-user.
...
Signed-off-by: brv phoenix <feixuekaka1@gmail.com>
2018-10-25 21:11:43 +08:00
Waldemar Konik
7b1c25f48c
aria2: handle check_certificate=false config option
...
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2018-09-20 13:24:57 +02:00
Hsing-Wang Liao
df615166ba
aria2: Add missing 'or' in section validate function
...
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-08-25 14:33:54 +08:00
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>
2017-08-25 13:51:45 +08:00
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>
2016-07-24 16:02:19 +08:00
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>
2016-07-17 11:48:53 +08:00
Hsing-Wang Liao
5246efe3d8
aria2: update init file
...
This update is from #2961 , thank @hostkit.
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-07-16 11:05:57 +08:00
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>
2016-06-02 16:26:02 +08:00