fix start script

This commit is contained in:
larssand
2026-09-03 20:48:01 +02:00
parent 1e33e1fffc
commit c60b9e0057
2 changed files with 15 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ chmod +x /etc/init.d/racecore-nginx
/etc/init.d/racecore-nginx start
```
The custom init script is useful when Teltonika's bundled `nginx-util` is missing.
The custom init script is useful when Teltonika.s bundled `nginx-util` is missing. It discovers Nginx in the firmware PATH, including `/usr/local/usr/sbin/nginx`, before checking standard paths.
It recreates all RAM-backed Nginx temporary directories under `/tmp` on every boot,
validates the config, and starts Nginx under `procd`.