mirror of
https://github.com/JetSprow/J-Board-Lite.git
synced 2026-05-01 01:14:10 +05:30
docs: update repository links for J-Board Lite
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
BINARY := jboard-agent
|
||||
VERSION := 3.0.2
|
||||
VERSION := 3.1.1
|
||||
LDFLAGS := -s -w
|
||||
|
||||
.PHONY: build build-linux clean
|
||||
|
||||
@@ -49,19 +49,19 @@ Agent 使用 `AUTH_TOKEN` 认证。这个 token 在 J-Board Lite 后台节点页
|
||||
手动安装命令形如:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/JetSprow/J-Board/lite/scripts/install-jboard-agent.sh | SERVER_URL=https://panel.example.com AUTH_TOKEN=你的Token bash
|
||||
curl -fsSL https://raw.githubusercontent.com/JetSprow/J-Board-Lite/main/scripts/install-jboard-agent.sh | SERVER_URL=https://panel.example.com AUTH_TOKEN=你的Token bash
|
||||
```
|
||||
|
||||
如果需要指定 Agent Release:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/JetSprow/J-Board/lite/scripts/install-jboard-agent.sh | AGENT_TAG=v3.0.2 SERVER_URL=https://panel.example.com AUTH_TOKEN=你的Token bash
|
||||
curl -fsSL https://raw.githubusercontent.com/JetSprow/J-Board-Lite/main/scripts/install-jboard-agent.sh | AGENT_TAG=v3.1.1 SERVER_URL=https://panel.example.com AUTH_TOKEN=你的Token bash
|
||||
```
|
||||
|
||||
## 升级
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/JetSprow/J-Board/lite/scripts/upgrade-jboard-agent.sh | bash
|
||||
curl -fsSL https://raw.githubusercontent.com/JetSprow/J-Board-Lite/main/scripts/upgrade-jboard-agent.sh | bash
|
||||
```
|
||||
|
||||
升级脚本会读取现有 `/etc/jboard-agent.env`,保留服务器地址、Token、探测间隔和 Xray 日志配置,并重新写入当前 systemd service。
|
||||
@@ -75,7 +75,7 @@ journalctl -u jboard-agent -n 30 --no-pager
|
||||
你应该看到类似:
|
||||
|
||||
```text
|
||||
[agent] jboard-agent v3.0.2 starting in probe-only mode
|
||||
[agent] jboard-agent v3.1.1 starting in probe-only mode
|
||||
```
|
||||
|
||||
## 环境变量
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/jboard/jboard-agent/internal/probe"
|
||||
)
|
||||
|
||||
const version = "3.0.2"
|
||||
const version = "3.1.1"
|
||||
|
||||
func main() {
|
||||
debug.SetGCPercent(50)
|
||||
|
||||
Reference in New Issue
Block a user