Update backup and restore paths in tracktor.sh

This commit is contained in:
Tobias 2025-08-24 19:51:58 +02:00 committed by GitHub
parent b66e55fba2
commit e3e6d86b6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ function update_script() {
msg_ok "Stopped Service"
msg_info "Creating Backup"
cp /opt/tracktor/app/server/.env /opt/tracktor.env
cp /opt/tracktor/app/backend/.env /opt/tracktor.env
msg_ok "Created Backup"
msg_info "Updating ${APP}"
@ -48,7 +48,7 @@ function update_script() {
msg_ok "Updated $APP"
msg_info "Restoring Backup"
cp /opt/tracktor.env /opt/tracktor/app/server/.env
cp /opt/tracktor.env /opt/tracktor/app/backend/.env
msg_ok "Restored Backup"
msg_info "Starting Service"