From a09f331d5fa047462ac5b6f55f91982cad939213 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Thu, 9 Oct 2025 09:34:20 +0200 Subject: [PATCH] add restart command for service --- update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update.sh b/update.sh index 1d41b32..bd47046 100755 --- a/update.sh +++ b/update.sh @@ -592,6 +592,7 @@ start_application() { if [ "$SERVICE_WAS_RUNNING" = true ] && check_service; then log "Service was running before update, re-enabling and starting systemd service..." if systemctl enable --now pvescriptslocal.service; then + systemctl restart pvescriptslocal.service log_success "Service enabled and started successfully" # Wait a moment and check if it's running sleep 2