health-check.sh: fix spoke detection to check for running autossh container instead of compose.yaml presence

This commit is contained in:
Justin Oros
2026-04-19 22:29:02 -07:00
parent 86688c43c7
commit 84b3b7ce1d

2
health-check.sh Executable file → Normal file
View File

@@ -20,7 +20,7 @@ RCLONE_CONF="${HOME}/.config/rclone/rclone.conf"
IS_SPOKE=false
IS_HUB=false
if docker ps --format '{{.Names}}' 2>/dev/null | grep -qi autossh || [ -f "$COMPOSE" ]; then
if docker ps --format '{{.Names}}' 2>/dev/null | grep -qi autossh; then
IS_SPOKE=true
fi