HA add-on: timeout clawdbot doctor to avoid startup hangs

This commit is contained in:
TheLast
2026-01-27 21:03:26 +02:00
parent 6d71585efd
commit caf6681e6a
+3 -2
View File
@@ -84,8 +84,9 @@ MikroTik SSH:
EOF
echo "Running clawdbot doctor (auto-fix) ..."
# Doctor is idempotent; it will apply any needed config migrations and exit 0.
clawdbot doctor --fix --yes || true
# Doctor is idempotent; but in containers it can occasionally hang on environment checks.
# Put a hard timeout so the gateway still starts.
(timeout 60s clawdbot doctor --fix --yes) || true
echo "Starting Clawdbot Gateway..."
exec clawdbot gateway run