health-check.sh: fix spoke detection to check for running autossh container instead of compose.yaml presence
This commit is contained in:
1 parent
86688c43c7
commit
84b3b7ce1d
1 file changed
+1
-1
Executable → Regular
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user