Supervise and persist ClawdBox node host
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user