HA add-on: timeout clawdbot doctor to avoid startup hangs
This commit is contained in:
+3
-2
@@ -84,8 +84,9 @@ MikroTik SSH:
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "Running clawdbot doctor (auto-fix) ..."
|
echo "Running clawdbot doctor (auto-fix) ..."
|
||||||
# Doctor is idempotent; it will apply any needed config migrations and exit 0.
|
# Doctor is idempotent; but in containers it can occasionally hang on environment checks.
|
||||||
clawdbot doctor --fix --yes || true
|
# Put a hard timeout so the gateway still starts.
|
||||||
|
(timeout 60s clawdbot doctor --fix --yes) || true
|
||||||
|
|
||||||
echo "Starting Clawdbot Gateway..."
|
echo "Starting Clawdbot Gateway..."
|
||||||
exec clawdbot gateway run
|
exec clawdbot gateway run
|
||||||
|
|||||||
Reference in New Issue
Block a user