(bugfix) Restart systemd services during native updates

Change the native installer to enable services and then explicitly
restart web, worker, and scheduler so updated Django code is loaded
after each install or update.

Document that the installer refreshes app files and restarts systemd
services as part of the normal update flow.
This commit is contained in:
2026-05-19 18:58:41 +02:00
parent 96b91b2a69
commit bb7907846e
2 changed files with 3 additions and 2 deletions

View File

@@ -464,7 +464,8 @@ else
note_step "Create Django superuser" "SKIPPED"
fi
run_step "Enable and start services" systemctl enable --now pobsync-web.service pobsync-worker.service pobsync-scheduler.service
run_step "Enable services" systemctl enable pobsync-web.service pobsync-worker.service pobsync-scheduler.service
run_step "Restart services" systemctl restart pobsync-web.service pobsync-worker.service pobsync-scheduler.service
if [ "$WITH_NGINX" -eq 1 ]; then
if ! command -v nginx >/dev/null 2>&1; then