wrolpi/etc/raspberrypios/wrolpi-app.service
Roland a02c47cfa1
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Controller Tests / controller-tests (push) Waiting to run
Jest Tests / jest-tests (push) Waiting to run
Adding wrolpi-app-dev which runs frontend in dev mode.
2025-12-18 18:01:45 -07:00

17 lines
406 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.
ExecStart=/usr/local/bin/serve build -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