OSDN Git Service

luci-app-v2ray-server: fix compatibility for v2ray-core v5
[immortalwrt/luci.git] / applications / luci-app-v2ray-server / root / etc / init.d / v2ray_server
index d134ea8..cbc599d 100755 (executable)
@@ -26,7 +26,7 @@ gen_v2ray_config_file() {
                [ ! -f "$ret" ] && ret="/usr/bin/v2ray"
                cp -a $ret /var/v2server
        fi
-       /var/v2server -config $CONFIG_PATH/$1.json >/dev/null 2>&1 &
+       /var/v2server run -config $CONFIG_PATH/$1.json >/dev/null 2>&1 &
 }
 
 start_v2ray_server() {