mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
Upgrade systemd file before building api.
This commit is contained in:
parent
ccb28db95c
commit
f764cee44e
1 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,9 @@
|
|||
#! /usr/bin/env bash
|
||||
|
||||
# Update systemd files.
|
||||
cp /opt/wrolpi/etc/raspberrypios/wrolpi-api.service /etc/systemd/system/
|
||||
/usr/bin/systemctl daemon-reload
|
||||
|
||||
# Upgrade the API and App.
|
||||
/bin/bash /opt/wrolpi/scripts/build_api_and_app.sh
|
||||
|
||||
|
|
@ -7,7 +11,3 @@
|
|||
cp /opt/wrolpi/nginx.conf /etc/nginx/nginx.conf
|
||||
cp /opt/wrolpi/50x.html /var/www/50x.html
|
||||
/usr/sbin/nginx -s reload
|
||||
|
||||
# Update systemd files.
|
||||
cp /opt/wrolpi/etc/raspberrypios/wrolpi-api.service /etc/systemd/system/
|
||||
/usr/bin/systemctl daemon-reload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue