From d3cdb6328c1c8f652030ba9bdc1a49c470726474 Mon Sep 17 00:00:00 2001 From: ipkalm Date: Wed, 4 Jan 2023 07:49:13 +0700 Subject: [PATCH] v2ray: add `run` to launch command for v2ray>=5.1.0 --- srcpkgs/v2ray/files/v2ray/run | 2 +- srcpkgs/v2ray/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/v2ray/files/v2ray/run b/srcpkgs/v2ray/files/v2ray/run index 3b1ac46ab24..cae39437dd1 100644 --- a/srcpkgs/v2ray/files/v2ray/run +++ b/srcpkgs/v2ray/files/v2ray/run @@ -1,3 +1,3 @@ #!/bin/sh -exec chpst -u _v2ray v2ray -config=/etc/v2ray/config.json 2>&1 +exec chpst -u _v2ray v2ray run -config=/etc/v2ray/config.json 2>&1 diff --git a/srcpkgs/v2ray/template b/srcpkgs/v2ray/template index 3f972e51e70..ba6fcb1bf11 100644 --- a/srcpkgs/v2ray/template +++ b/srcpkgs/v2ray/template @@ -1,7 +1,7 @@ # Template file for 'v2ray' pkgname=v2ray version=5.1.0 -revision=1 +revision=2 build_style=go go_import_path="github.com/v2fly/v2ray-core/v5" go_ldflags="-X github.com/v2fly/v2ray-core/v5.codename=$pkgname