-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
新版安装脚本安装后用systemctl不能启动,命令行正常。 #59
Comments
|
total 48
V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 18 02:36:22 Prox systemd[1]: Stopping V2Ray Service... |
你现在用拆分后的配置文件启动的v2ray? 能否发个demo看看 |
我删除了拆分后的配置文件,从原来的单个的配置文件,既/etc/v2ray/config.json做了个软链到/usr/local/etc/v2ray/.而且我试过用拆分后的配置文件进行配置,依然无法用systemctl 启动。现在还是用命令启动到后台。/var/log/v2ray和证书文件的权限问题可以排除,都chown成nobody了问题依旧。 |
同样的问题,我直接改了
|
你改完就正常了吗?我早已按你的办法改过了,还是老样子。搞不懂了,一个systemd的unit文件到底哪里有问题。我试过用新的安装脚本安装低版本的v2ray,也是一样的问题。 |
已解决。是证书权限的问题。 |
我也遇到类似的问题,证书目录我也改成nobody了还是一样的错误,最后只好把service里面的user改成root就好了😂 |
最近把v2迁移到新的安装脚本环境中,试着用命令行 test了一下,一切正常。然而用systemctl start/restart 都提示failed to start v2ray service 。用journalctl -u v2ray 也没有发现什么有用的信息。现在暂时用
/usr/local/bin/v2ray -confdir /usr/local/etc/v2ray &
应付着
The text was updated successfully, but these errors were encountered: