Replies: 1 comment
-
又运行了一遍systemctl status v2ray发现了一个奇怪的问题: 我发现ExecStart里定义的命令少了个run关键字,这也许是导致失败的原因,但我明明在/etc/systemd/system/v2ray.service定义的时候是有的,执行的时候怎么把run删掉了执行的? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
但用命令启动就没问题 /usr/local/bin/v2ray run -c /usr/local/etc/v2ray/config.json,
v2ray test -c /usr/local/etc/v2ray/config.json 显示配置文件没错
运行systemctl status v2ray结果如下:
v2ray.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
v2ray.service: Failed with result 'exit-code'.
v2ray.service: Service RestartSec=100ms expired, scheduling restart.
v2ray.service: Scheduled restart job, restart counter is at 5.
Stopped V2Ray Service.
v2ray.service: Start request repeated too quickly.
v2ray.service: Failed with result 'exit-code'.
Failed to start V2Ray Service.
config.json:
大家知道怎么回事吗?谢谢
Beta Was this translation helpful? Give feedback.
All reactions