v2fly / fhs-install-v2ray

Bash script for installing V2Ray in operating systems such as Debian / CentOS / Fedora / openSUSE that support systemd
GNU General Public License v3.0
6.28k stars 1.45k forks source link

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

Open lixuankun opened 2 years ago

lixuankun commented 2 years ago

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 commented 2 years ago

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

2821886959 commented 2 years ago

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

jgh004 commented 2 years ago

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