mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-01 20:36:21 -05:00
Adding serve.json so epub.html is not rewritten by serve. Buildling app during pi-gen/debian image builds.
This commit is contained in:
parent
d2ae135e5b
commit
104d2ec6a7
4 changed files with 17 additions and 3 deletions
|
|
@ -4,8 +4,8 @@ Wants=wrolpi-api.service
|
|||
PartOf=wrolpi.target
|
||||
|
||||
[Service]
|
||||
# Use development React app
|
||||
ExecStart=/usr/bin/npm run start
|
||||
# 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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue