Files
mw-macbook-pro/scripts/openclaw-check.sh
T

19 lines
388 B
Bash
Executable File

#!/bin/bash
# OpenClaw Health Check Utility
echo "--- Service Status ---"
launchctl list | grep ai.openclaw
echo ""
echo "--- Connectivity Check ---"
curl -i http://127.0.0.1:18789/health
echo ""
echo "--- Node Logs (Last 10 lines) ---"
tail -n 10 ~/.openclaw/logs/node.err.log
echo ""
echo "--- Tunnel Logs (Last 10 lines) ---"
tail -n 10 ~/.openclaw/logs/ssh-tunnel.err.log
echo ""