Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2025 12:54:24 GMT
From:      =?utf-8?Q?=C3=84lven?= <alven@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 239fcdf62cac - main - net/v2ray: Add a 'run' command to the init script to ensure proper daemon startup
Message-ID:  <202510061254.596CsOHd059606@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by alven:

URL: https://cgit.FreeBSD.org/ports/commit/?id=239fcdf62cac54d3009b313ce50607efa0d7fb48

commit 239fcdf62cac54d3009b313ce50607efa0d7fb48
Author:     paltovkone <karamelichkin@gmail.com>
AuthorDate: 2025-10-06 12:49:25 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2025-10-06 12:53:23 +0000

    net/v2ray: Add a 'run' command to the init script to ensure proper daemon startup
    
    PR:             283856
    Approved by:    portmgr@ (blanket)
---
 net/v2ray/files/v2ray.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/v2ray/files/v2ray.in b/net/v2ray/files/v2ray.in
index c3c4e679a197..c39895054532 100644
--- a/net/v2ray/files/v2ray.in
+++ b/net/v2ray/files/v2ray.in
@@ -31,7 +31,7 @@ asset_env="V2RAY_LOCATION_ASSET=%%PREFIX%%/share/$name"
 pidfile="/var/run/$name.pid"
 procname="%%PREFIX%%/bin/$name"
 command="/usr/sbin/daemon"
-command_args="-c -p ${pidfile} /usr/bin/env ${asset_env} ${v2ray_env} ${procname} -config ${v2ray_config}"
+command_args="-c -p ${pidfile} /usr/bin/env ${asset_env} ${v2ray_env} ${procname} run -config ${v2ray_config}"
 required_files="${v2ray_config}"
 
 start_precmd="v2ray_startprecmd"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510061254.596CsOHd059606>