added safe guards to all scripts that need it. all reference comm.sh like it should be
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user