workspace и reboot-модуль: второй продакшн бинарь и упаковка
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user