Update guardian.sh

This commit is contained in:
Slaviša Arežina 2025-10-01 15:39:34 +02:00 committed by GitHub
parent 18c3b2979d
commit 660d8a21cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,6 @@ if check_for_gh_release "guardian" "HydroshieldMKII/Guardian" ; then
systemctl stop guardian-backend guardian-frontend
msg_ok "Stopped Services"
if [[ -f "/opt/guardian/backend/plex-guard.db" ]] ; then
msg_info "Saving Database"
cp "/opt/guardian/backend/plex-guard.db" "/tmp/plex-guard.db.backup"
@ -60,7 +59,6 @@ if check_for_gh_release "guardian" "HydroshieldMKII/Guardian" ; then
cd /opt/guardian/frontend
$STD npm ci
$STD DEPLOYMENT_MODE=standalone npm run build
msg_ok "Updated Guardian"
msg_info "Starting Services"