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:
@@ -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 ━━━
|
||||
|
||||
Reference in New Issue
Block a user