mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
17 lines
288 B
SYSTEMD
17 lines
288 B
SYSTEMD
|
|
[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
|