Skip to content

Commit a09f331

Browse files
add restart command for service
1 parent 36beb42 commit a09f331

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

update.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ start_application() {
592592
if [ "$SERVICE_WAS_RUNNING" = true ] && check_service; then
593593
log "Service was running before update, re-enabling and starting systemd service..."
594594
if systemctl enable --now pvescriptslocal.service; then
595+
systemctl restart pvescriptslocal.service
595596
log_success "Service enabled and started successfully"
596597
# Wait a moment and check if it's running
597598
sleep 2

0 commit comments

Comments
 (0)