workspace и reboot-модуль: второй продакшн бинарь и упаковка

This commit is contained in:
2026-05-10 21:30:06 +05:00
parent d4cd6a4e43
commit 83c4e3ba05
9 changed files with 1151 additions and 290 deletions
+3 -3
View File
@@ -412,13 +412,13 @@ The old status banner “system ready” is not enough. Rust status must be fals
## 16. Reboot module integration
Move existing `reboot_module` logic into `reboot.rs`:
Production reboot path is external binary/service `awg2-reboot-scheduler`:
- window from config, not constants;
- random point inside `[window_start_utc, window_end_utc)`;
- random point inside reboot window (including cross-midnight windows);
- `systemctl --no-block reboot` remains;
- disabled when `reboot.enabled = false`;
- daemon logs planned reboot time.
- planned reboot timestamp is persisted in `/run/awg2-harness/reboot.plan`.
## 17. Swap module