diff --git a/AGENTS.md b/AGENTS.md index bc628d9..09b5f2b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -11,7 +11,14 @@ ## Commands ```bash -# Start server (with detach to survive shell timeout) +# Start/stop/restart server (systemd service, auto-restart on failure) +systemctl start yzr-platform.service # 启动 +systemctl stop yzr-platform.service # 停止 +systemctl restart yzr-platform.service # 重启 +systemctl status yzr-platform.service # 查看状态 +journalctl -u yzr-platform.service -n 50 --no-pager # 查看日志 + +# Fallback: start without systemd (用于调试) cd /root/openclaw-workspace/projects/yu-zhi-ran setsid ./start-platform.sh 8001