Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AntiMoron opened this issue Sep 7, 2022 · 5 comments
Closed

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

AntiMoron opened this issue Sep 7, 2022 · 5 comments

Comments

@AntiMoron
Copy link
Contributor

FYI:

v2ray -config ${v2ray_config}

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

v2ray run ${v2ray_config}
@AntiMoron
Copy link
Contributor Author

#48

@AntiMoron
Copy link
Contributor Author

AntiMoron commented Sep 7, 2022

提交v2ray 5.0相关修改 @wulabing

@ilhuyi
Copy link

ilhuyi commented Sep 7, 2022

可以执行 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
Copy link
Contributor Author

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

@AntiMoron
Copy link
Contributor Author

已经merge了。closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants