Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: The Initialization Packages of V2Ray Need Updates (Read 288 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

The Initialization Packages of V2Ray Need Updates

I required the package V2Ray long time ago, and its initialization packages need update now, as the official changed the command line of the executable.

I use OpenRC, so changing the start function in /etc/init.d/v2ray as below works for me:
Code: [Select]
start() {
        checkconfig || return 1

        ebegin "Starting V2ray"
        ebegin "Log File : ${V2_LOG}"
        start-stop-daemon --start       \
        -b -1 ${V2_LOG} -2 ${V2_LOG}    \
        -m -p ${V2_PIDFILE}             \
        --exec /usr/bin/v2ray  -- run -config ${V2_CONFIG}
        eend $?

}
The original script lacks a run after --.

Re: The Initialization Packages of V2Ray Need Updates

Reply #1
Updated it