rwMarkable: small tweaks

This commit is contained in:
vhsdream 2025-09-30 14:43:11 -04:00
parent 2f9d2d9756
commit 7c7a9308b4
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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"