wulabing / V2Ray_ws-tls_bash_onekey

MIT License
2.11k stars 922 forks source link

v2ray 5.x 版本出了,现在脚本默认启动不起来了 #47

Closed AntiMoron closed 2 years ago

AntiMoron commented 2 years ago

FYI:

v2ray -config ${v2ray_config}

这个脚本不行了,要升级到

v2ray run ${v2ray_config}
AntiMoron commented 2 years ago

https://github.com/wulabing/V2Ray_ws-tls_bash_onekey/pull/48

AntiMoron commented 2 years ago

提交v2ray 5.0相关修改 @wulabing

ilhuyi commented 2 years ago

可以执行 systemctl status v2ray 看到脚本的路径是哪?

● systemctl start v2ray

● v2ray.service - V2Ray Service Loaded: loaded (/etc/systemd/system/v2ray.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2022-09-08 01:09:09 CST; 34s ago

然后将etc/systemd/system/v2ray.service 文件中的 /usr/bin/v2ray/v2ray -config /etc/v2ray/config.json 改成 /usr/bin/v2ray/v2ray run -config /etc/v2ray/config.json 加一个run即可 ,再命令行里执行一下 systemctl daemon-reload

AntiMoron commented 2 years ago

我已经这么干了、见引用issue

AntiMoron commented 2 years ago

已经merge了。closed