关于V2 到5.1.0不能用的问题
是这种报错的 ● ‘V2’.service – V2Ray Service Loaded: loaded (/etc/systemd/system/’V2′.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/’V2′.service.d └─10-donot_touch_single_conf.conf
Process: 3975576 ExecStart=/usr/local/bin/’V2′ -config /usr/local/etc/’V2’/config.json (code=exited, status=2) Main PID: 3975576 (code=exited, status=2)
这种报错的
处理方式1: rm -rf /etc/systemd/system/’V2′.service.d/10-donot_touch_single_conf.conf systemctl daemon-reload systemctl restart ‘V2’ 处理方式2: vi /etc/systemd/system/’V2′.service.d/10-donot_touch_single_conf.conf 把ExecStart=/usr/local/bin/’V2′ -config /usr/local/etc/’V2’/config.json 改为ExecStart=/usr/local/bin/’V2′ run -config /usr/local/etc/’V2’/config.json systemctl daemon-reload systemctl restart ‘V2’ 具体命令↓ sed -i "s/’V2′ -config/’V2′ run -config/g" /etc/systemd/system/’V2′.service.d/10-donot_touch_single_conf.conf systemctl daemon-reload systemctl restart ‘V2’ 处理方式3: 切回老版本: bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-‘V2’/master/install-release.sh) –version v4.45.2 就好啦
尝试下上述操作就OK了,
附上开发文档:https://www.v2fly.org/v5/config/overview.html |