added safe guards to all scripts that need it. all reference comm.sh like it should be

This commit is contained in:
2026-04-20 17:18:25 -04:00
parent 72940ec202
commit e83473ab8e
20 changed files with 263 additions and 32 deletions
@@ -29,6 +29,8 @@ fi
success "Running as root"
acquire_lock
if ! command -v docker &>/dev/null; then
error "Docker command not found — check PATH or Docker installation"
notify "Docker daily restart failed — Docker not found on $(hostname)" "Docker Daily Restart" "warning"
+2
View File
@@ -53,6 +53,8 @@ fi
success "Running as root"
acquire_lock
# Select correct per-host watchdog lists
detect_hosts
@@ -29,6 +29,8 @@ fi
success "Running as root"
acquire_lock
if ! command -v docker &>/dev/null; then
error "Docker command not found — check PATH or Docker installation"
notify "Docker weekly restart failed — Docker not found on $(hostname)" "Docker Weekly Restart" "warning"