wrolpi/etc/raspberrypios/wrolpi-app.service
lrnselfreliance 34eeebb8b8
Bump serve 12.0.1 → 14.2.8 in npm-tools (#1027)
* build(deps): bump ajv and serve in /npm-tools

Bumps [ajv](https://github.com/ajv-validator/ajv) to 8.18.0 and updates ancestor dependency [serve](https://github.com/vercel/serve). These dependencies need to be updated together.


Updates `ajv` from 6.12.6 to 8.18.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.6...v8.18.0)

Updates `serve` from 12.0.1 to 14.2.8
- [Release notes](https://github.com/vercel/serve/releases)
- [Changelog](https://github.com/vercel/serve/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vercel/serve/compare/12.0.1...v14.2.8)

---
updated-dependencies:
- dependency-name: ajv
  dependency-version: 8.18.0
  dependency-type: indirect
- dependency-name: serve
  dependency-version: 14.2.8
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update serve test pin to 14.2.8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Disable serve's per-request logging

serve 14 logs every request by default; -L keeps the journal as quiet
as it was with serve 12.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 11:40:19 -07:00

19 lines
548 B
Desktop File

[Unit]
Description=WROLPi React APP
Wants=wrolpi-api.service
PartOf=wrolpi.target
Conflicts=wrolpi-app-dev.service
[Service]
# Use explicit `serve.json` so `epub.html` is not lost.
# Resolve `serve` via PATH so it works regardless of npm's global prefix
# (/usr/local/bin vs /usr/bin depending on how node was installed).
ExecStart=/usr/bin/env serve build -L -l 3000 -c /opt/wrolpi/app/serve.json
Group=wrolpi
User=wrolpi
WorkingDirectory=/opt/wrolpi/app/
# Below the API so that Sanic worker can start.
Nice=6
[Install]
WantedBy=default.target