Add conf_cache_watchdog.sh — watchdog-driven persistent conf backup

Writes partner confs from RAM cache to /boot/config/.cache/vv/d/ while
remote is offline, and removes the backup when remote comes back. Called
each minute via SYSTEM_WATCHDOG_SCRIPTS so crashes and power loss are
covered — not just graceful shutdowns.
This commit is contained in:
Gmer4Lfe
2026-06-19 18:06:31 -04:00
parent 4749e5857c
commit 82810ab168
3 changed files with 76 additions and 5 deletions
+3 -2
View File
@@ -338,9 +338,10 @@
# system_watchdog.sh runs SYSTEM_WATCHDOG_SCRIPTS sequentially each cycle.
# Called by watchdog_orchestrator.sh — not scheduled directly.
SYSTEM_WATCHDOG_SCRIPTS=(
"Watchdogs/System/storage_watchdog.sh" # pool growth + runaway log detection
"Watchdogs/System/storage_watchdog.sh" # pool growth + runaway log detection
"Plugin/unraid/Watchdogs/System/webgui_watchdog.sh" # WebGUI availability — nginx → php-fpm → emhttp
"Watchdogs/System/network_watchdog.sh" # internet, DDNS, Tailscale, NPM proxy
"Watchdogs/System/network_watchdog.sh" # internet, DDNS, Tailscale, NPM proxy
"Watchdogs/System/conf_cache_watchdog.sh" # maintain persistent conf backup while partner is offline
)
# ━━━ Critical Sync Maintenance ━━━