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