- Updated `bf-wireguard-restart.yml` to include dynamic host targeting based on `operation_wave`. - Added pre-tasks to assert that the operation wave is approved and confirmed, ensuring proper execution context. - Modified the service restart task to use a more structured command format. - Adjusted `operations.py` and `ui_gui.py` to reflect changes in operation scope from "simple" to "wave" for relevant operations. - Improved UI handling in `ui_gui.py` and `ui_surfaces.py` for better output management and user interaction. - Updated log rotation configuration to target specific log files. - Enhanced systemd service configurations for WireGuard to improve restart behavior. - Refined firstboot scripts to ensure proper handling of dealer ID and state management. - Improved error handling and rollback mechanisms in identity and installation scripts.
9 lines
415 B
Text
9 lines
415 B
Text
# Purpose: Keep the WireGuard tunnel up across failures without manual action.
|
|
# Scope: Drop-in for wg-quick@wg0; restarts the tunnel with a short backoff.
|
|
# Safety: Reboot-safe once the unit is enabled; confirm on the LAB 26.04.1 image.
|
|
# Ref: docs/08-WIREGUARD-AND-NETWORK.md and docs/16-POWER-LOSS-AND-AUTO-RECOVERY.md, K-05.
|
|
[Service]
|
|
Restart=always
|
|
RestartSec=30s
|
|
StartLimitIntervalSec=10min
|
|
StartLimitBurst=5
|