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

main process exited, code=exited, status=2/INVALIDARGUMENT #249

Open
lixuankun opened this issue Sep 12, 2022 · 3 comments
Open

main process exited, code=exited, status=2/INVALIDARGUMENT #249

lixuankun opened this issue Sep 12, 2022 · 3 comments

Comments

@lixuankun
Copy link

1.execution scripts bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
2.systemctl start v2ray
image
Version 4.45.2 does not have this problem

@Resol1024
Copy link

修改/etc/systemd/system/v2ray.service文件:
ExecStart=/usr/local/bin/v2ray --config=/usr/local/etc/v2ray/config.json

@2821886959
Copy link

2821886959 commented Sep 13, 2022

在/etc/systemd/system/v2ray.service.d/10-donot_touch_single_conf.conf 文件
添加为以下
ExecStart=settings
其他不用动

@jgh004
Copy link

jgh004 commented Oct 11, 2022

/usr/local/bin/v2ray run -config /usr/local/etc/v2ray/config.json

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

4 participants