v2ray: add `run` to launch command for v2ray>=5.1.0
This commit is contained in:
parent
e661bd9a91
commit
d3cdb6328c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue