Files
shell-scripts/1-代理Xray/XRay-安装脚本/Xray安装脚本.txt
2025-02-18 09:49:51 +08:00

12 lines
370 B
Plaintext

bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --without-geodata
sed -i "s/nobody/root/g" /etc/systemd/system/xray.service
systemctl daemon-reload
systemctl restart xray
systemctl enable xray
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ upgrade
journalctl -u xray -n 100 -f