fix: check process, check installer suicide and pty status display

This commit is contained in:
10000ge10000
2026-03-13 12:55:11 +08:00
parent 3aa39512c0
commit af511b667c
3 changed files with 23 additions and 21 deletions

View File

@@ -226,7 +226,7 @@ if [ -x /etc/init.d/openclaw ]; then
# 等待进程退出和端口释放
sleep 2
# 确保 gateway 子进程也已退出
for pid in $(pgrep -f "openclaw-gateway|openclaw" 2>/dev/null); do
for pid in $(pgrep -f "node.*openclaw|openclaw.*gateway" 2>/dev/null); do
kill "$pid" 2>/dev/null
done
sleep 1