feature test
This commit is contained in:
35
v2ray/nfpm.yaml
Normal file
35
v2ray/nfpm.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
name: v2ray
|
||||
version: ${VERSION}
|
||||
arch: amd64
|
||||
platform: linux
|
||||
maintainer: nakolenke <apt@nakolenke.org>
|
||||
description: V2Ray proxy tool (v2fly/v2ray-core)
|
||||
license: MIT
|
||||
depends:
|
||||
- systemd
|
||||
|
||||
contents:
|
||||
- src: dist/v2ray
|
||||
dst: /usr/bin/v2ray
|
||||
file_info:
|
||||
mode: 0755
|
||||
|
||||
- src: dist/geoip.dat
|
||||
dst: /usr/share/v2ray/geoip.dat
|
||||
|
||||
- src: dist/geosite.dat
|
||||
dst: /usr/share/v2ray/geosite.dat
|
||||
|
||||
- src: dist/config.json
|
||||
dst: /etc/v2ray/config.json
|
||||
type: config|noreplace
|
||||
|
||||
- src: dist/systemd/system/v2ray.service
|
||||
dst: /lib/systemd/system/v2ray.service
|
||||
|
||||
- src: dist/systemd/system/v2ray@.service
|
||||
dst: /lib/systemd/system/v2ray@.service
|
||||
|
||||
scripts:
|
||||
postinstall: scripts/postinstall.sh
|
||||
preremove: scripts/preremove.sh
|
||||
Reference in New Issue
Block a user