fix: run VLESS Reality on Xray instead of sing-box for v2rayN
sing-box Hy2 stays on 8443+; port 443 VLESS uses Xray which pairs reliably with v2rayN/Xray-core clients. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,16 +6,17 @@ set -euo pipefail
|
||||
[[ $EUID -eq 0 ]] || { echo "请使用 root 运行"; exit 1; }
|
||||
|
||||
echo "[*] 停止服务 ..."
|
||||
systemctl stop jiedian-panel sing-box 2>/dev/null || true
|
||||
systemctl disable jiedian-panel sing-box 2>/dev/null || true
|
||||
systemctl stop jiedian-panel xray sing-box 2>/dev/null || true
|
||||
systemctl disable jiedian-panel xray sing-box 2>/dev/null || true
|
||||
|
||||
echo "[*] 删除 systemd 单元 ..."
|
||||
rm -f /etc/systemd/system/jiedian-panel.service
|
||||
rm -f /etc/systemd/system/sing-box.service
|
||||
systemctl daemon-reload
|
||||
|
||||
echo "[*] 删除 sing-box 配置 ..."
|
||||
echo "[*] 删除 sing-box / Xray 配置 ..."
|
||||
rm -rf /etc/sing-box
|
||||
rm -f /usr/local/etc/xray/config.json
|
||||
|
||||
echo "[*] 删除 nginx 站点 ..."
|
||||
rm -f /etc/nginx/sites-enabled/panel
|
||||
|
||||
Reference in New Issue
Block a user