Files
shell-scripts/1-代理Xray/XRay-安装脚本/Xray安装脚本.txt
2025-01-20 16:38:08 +08:00

9 lines
272 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
journalctl -u xray -n 100 -f