From 06b670d5ec4bd025173515256d2c980272a988c1 Mon Sep 17 00:00:00 2001 From: stswangzhiping <59632378+stswangzhiping@users.noreply.github.com> Date: Wed, 18 Mar 2026 20:09:44 +0800 Subject: [PATCH] docs: add update instructions using /opt/clawd Made-with: Cursor --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a62420e..4967eb6 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,14 @@ systemctl stop clawd # 停止 systemctl disable clawd # 取消开机自启 ``` +## 更新 + +clawd 安装在 `/opt/clawd`,更新时需在该目录执行 `git pull`: + +```bash +cd /opt/clawd && sudo git pull && sudo systemctl restart clawd +``` + ## 日志 - **stdout/journald**:所有日志同时输出到标准输出(systemd 自动采集到 journald)