Michel Roegl-Brunner
6a84da5e85
feat: implement real-time update progress with proper theming (#72)
* fix(update): properly detach update script to survive service shutdown
- Use setsid and nohup to completely detach update process from parent Node.js
- Add 3-second grace period to allow parent process to respond to client
- Fix issue where update script would stop when killing Node.js process
- Improve systemd service detection using systemctl status with exit code check
* fix(update): prevent infinite loop in script relocation
- Check for --relocated flag at the start of main() before any other logic
- Set PVE_UPDATE_RELOCATED environment variable immediately when --relocated is detected
- Prevents relocated script from triggering relocation logic again
* fix(update): use systemd-run and double-fork for complete process isolation
- Primary: Use systemd-run --user --scope with KillMode=none for complete isolation
- Fallback: Implement double-fork daemonization technique
- Ensures update script survives systemd service shutdown
- Script is fully orphaned and reparented to init/systemd
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
* Update update.sh
2025-10-08 10:43:52 +02:00
..
2025-10-08 10:43:52 +02:00
2025-10-06 16:24:19 +02:00
2025-10-06 16:24:19 +02:00
2025-10-06 16:24:19 +02:00
2025-10-03 13:05:25 +02:00
2025-09-30 11:30:43 +02:00