Skip to content

Commit

Permalink
更新 agent 卸载方法 (nezhahq#122)
Browse files Browse the repository at this point in the history
* 更新 agent 卸载方法

* can
  • Loading branch information
uubulb authored Dec 7, 2024
1 parent 5b7675e commit 9a2ab97
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/en_US/guide/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,4 +477,10 @@ Uninstalling the Agent involves stopping the service, uninstalling it, and remov
2. Remove the Agent folder:
```bash
rm -rf /opt/nezha/agent/
```
```

If multiple services are installed and removing all of them would be necessary, the Agent installation script can be used to simplify the process.

```bash
./agent.sh uninstall
```
8 changes: 7 additions & 1 deletion docs/guide/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,4 +483,10 @@ OpenWrt 是轻量级 Linux 系统,需通过手动下载和配置安装 Nezha A
2. 删除 Agent 文件夹:
```bash
rm -rf /opt/nezha/agent/
```
```

如果安装了多个服务并想要全部卸载,可以使用 Agent 安装脚本的卸载功能:

```bash
./agent.sh uninstall
```

0 comments on commit 9a2ab97

Please sign in to comment.