Closed developerworks closed 8 months ago
Please consider make a compatibility The new version of v2ray command line has a new run subcommand
V2Ray 5.7.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.20.4 linux/amd64) A unified platform for anti-censorship.
(base) ➜ v2sub git:(main) ./v2sub -conn start [v2sub-INFO] [1002-012905] load config msg success [v2sub-INFO] [1002-012905] start v2ray ...... [v2sub-INFO] [1002-012905] use config is : ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ [v2sub-INFO] [1002-012905] ======================================================================== [v2sub-INFO] [1002-012905] ID 别名 地址 端口 类型 [v2sub-INFO] [1002-012905] 1 *** 192.***.***.*** 18950 none [v2sub-INFO] [1002-012905] ======================================================================== [v2sub-INFO] [1002-012905] v2ray config path : /etc/v2sub/config.json flag provided but not defined: -config Usage of /usr/local/bin/v2ray: [v2sub-ERR ] [1002-012905] run command error[/usr/local/bin/v2ray -c /etc/v2sub/config.json] [v2sub-ERR ] [1002-012905] exit status 2
Run with the command is OK
(base) ➜ v2sub git:(main) ✗ /usr/local/bin/v2ray run -c /etc/v2sub/config.json V2Ray 5.7.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.20.4 linux/amd64) A unified platform for anti-censorship. 2023/10/02 01:41:28 [Warning] V2Ray 5.7.0 started
Good suggestion, I will try to add support
version v1.0.4 fix this issue ~
Please consider make a compatibility The new version of v2ray command line has a new run subcommand
V2Ray 5.7.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.20.4 linux/amd64) A unified platform for anti-censorship.
Run with the command is OK