13 Commits

Author SHA1 Message Date
Liangbin Lian
d60028116d aria2: fix openssl legacy load failed
```
Mon Apr 21 13:30:56 2025 daemon.info aria2c[13301]: jail: exec-ing /usr/bin/aria2c
Mon Apr 21 13:30:56 2025 daemon.err aria2c[13301]: Exception caught
Mon Apr 21 13:30:56 2025 daemon.err aria2c[13301]: Exception: [Platform.cc:125] errorCode=1 OSSL_PROVIDER_load 'legacy' failed.
Mon Apr 21 13:30:56 2025 daemon.err aria2c[13301]:
Mon Apr 21 13:30:56 2025 daemon.info procd: Instance aria2::aria2.main s in a crash loop 6 crashes, 0 seconds since last crash
Mon Apr 21 13:30:56 2025 daemon.info aria2c[13301]: jail: jail (13302) exited with exit: 1

```

Links:
- https://github.com/aria2/aria2/issues/2152

Co-authored-by: Tianling Shen <cnsztl@gmail.com>
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-04-28 13:13:42 +08:00
Naraku J
3eba8468e1 aria2: Fix aria2.init start issue
Re-mount '$config_file' inside the '$config_dir' will cause aria2 process unable to start.

Signed-off-by: Naraku J <74468372+Narakuku@users.noreply.github.com>
2022-09-12 12:04:05 -07:00
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