mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 04:46:18 -05:00
Adding wrolpi-app-dev which runs frontend in dev mode.
This commit is contained in:
parent
7e9e815bf6
commit
a02c47cfa1
4 changed files with 30 additions and 1 deletions
16
etc/raspberrypios/wrolpi-app-dev.service
Normal file
16
etc/raspberrypios/wrolpi-app-dev.service
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=WROLPi React APP (Development)
|
||||
Wants=wrolpi-api.service
|
||||
PartOf=wrolpi.target
|
||||
Conflicts=wrolpi-app.service
|
||||
|
||||
[Service]
|
||||
Environment=PORT=3000
|
||||
ExecStart=/usr/bin/npm start
|
||||
Group=wrolpi
|
||||
User=wrolpi
|
||||
WorkingDirectory=/opt/wrolpi/app/
|
||||
Nice=6
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue