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:
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 --.