Supervise and persist ClawdBox node host

This commit is contained in:
Clawdbot
2026-07-30 16:04:28 +10:00
parent 48e30b9d0e
commit cc17432975
4 changed files with 74 additions and 13 deletions

View File

@@ -37,8 +37,10 @@ done
export PATH="$ROOT/bin:/usr/local/bin:$PATH"
start-clawdbox-node || {
echo "ClawdBox-CLI node host did not start; SSH will remain available." >&2
}
if [ "${CLAWDBOX_START_NODE:-true}" = "true" ]; then
start-clawdbox-node || {
echo "ClawdBox-CLI node host did not start; SSH will remain available." >&2
}
fi
exec /usr/sbin/sshd -D -e -f /etc/ssh/sshd_config