rwMarkable: small tweaks
This commit is contained in:
parent
2f9d2d9756
commit
7c7a9308b4
@ -54,14 +54,16 @@ function update_script() {
|
||||
|
||||
msg_info "Restoring configuration & data"
|
||||
mv /opt/app.env /opt/rwmarkable/.env
|
||||
$STD tar xf /opt/data.tar
|
||||
$STD tar -xf /opt/data.tar
|
||||
msg_ok "Restored configuration & data"
|
||||
|
||||
msg_info "Restarting ${APP} service"
|
||||
systemctl start rwmarkable
|
||||
msg_ok "Restarted ${APP} service"
|
||||
rm /opt/data.tar
|
||||
msg_ok "Updated Successfully"
|
||||
fi
|
||||
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
|
@ -22,7 +22,6 @@ $STD yarn --frozen-lockfile
|
||||
$STD yarn next telemetry disable
|
||||
$STD yarn build
|
||||
mkdir -p data/{users,checklists,notes}
|
||||
# maybe move some stuff around so the app is in a sensible spot?
|
||||
msg_ok "Successfully built app"
|
||||
|
||||
msg_info "Creating .env file"
|
||||
|
Loading…
x
Reference in New Issue
Block a user