- Agent 通过 token 向主控注册,心跳/拉取 xray 配置/上报流量 - 主控按节点下发完整 xray 配置(含出站+路由),agent 只应用不自建 - Agent 心跳同步更新节点在线状态;后台探针跳过 agent 托管节点 - 「添加节点」支持 Agent 类型,自动生成 token 并弹窗展示 - VLESS/SS2022 入站;同机测试支持 api_port 隔离 - 新增 install-master.sh / install-agent.sh 一键安装脚本 - systemd + OpenWrt procd 服务文件,docs/AGENT.md
15 lines
312 B
Desktop File
15 lines
312 B
Desktop File
[Unit]
|
|
Description=3x-ui node agent (lightweight, no web panel)
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=XUI_BIN_FOLDER=/usr/local/x-ui/bin
|
|
ExecStart=/usr/local/x-ui/x-ui agent --config /etc/x-ui/agent.json
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
LimitNOFILE=1048576
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|