v2ray: add `run` to launch command for v2ray>=5.1.0

This commit is contained in:
ipkalm 2023-01-04 07:49:13 +07:00 committed by Đoàn Trần Công Danh
parent e661bd9a91
commit d3cdb6328c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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