commit
864e531534
|
@ -9,8 +9,8 @@ https://wiki.linuxfoundation.org/lsb/fhs
|
|||
```
|
||||
installed: /usr/local/bin/v2ray
|
||||
installed: /usr/local/bin/v2ctl
|
||||
installed: /usr/local/lib/v2ray/geoip.dat
|
||||
installed: /usr/local/lib/v2ray/geosite.dat
|
||||
installed: /usr/local/share/v2ray/geoip.dat
|
||||
installed: /usr/local/share/v2ray/geosite.dat
|
||||
installed: /usr/local/etc/v2ray/00_log.json
|
||||
installed: /usr/local/etc/v2ray/01_api.json
|
||||
installed: /usr/local/etc/v2ray/02_dns.json
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
|
||||
# 0 0 * * * /usr/local/bin/install-dat-release > /dev/null 2>&1
|
||||
|
||||
# You can modify it to /usr/local/share/v2ray/
|
||||
V2RAY="/usr/local/lib/v2ray/"
|
||||
# You can modify it to /usr/local/lib/v2ray/
|
||||
V2RAY="/usr/local/share/v2ray/"
|
||||
DOWNLOAD_LINK_GEOIP="https://github.com/v2ray/geoip/releases/latest/download/geoip.dat"
|
||||
DOWNLOAD_LINK_GEOSITE="https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat"
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
# https://github.com/v2fly/fhs-install-v2ray/issues
|
||||
|
||||
# If you modify the following variables, you also need to modify the unit file yourself:
|
||||
# You can modify it to /usr/local/share/v2ray/
|
||||
DAT_PATH='/usr/local/lib/v2ray/'
|
||||
# You can modify it to /usr/local/lib/v2ray/
|
||||
DAT_PATH='/usr/local/share/v2ray/'
|
||||
# You can modify it to /etc/v2ray/
|
||||
JSON_PATH='/usr/local/etc/v2ray/'
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ User=nobody
|
|||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
||||
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
||||
NoNewPrivileges=true
|
||||
Environment=V2RAY_LOCATION_ASSET=/usr/local/lib/v2ray/
|
||||
Environment=V2RAY_LOCATION_ASSET=/usr/local/share/v2ray/
|
||||
ExecStart=/usr/local/bin/v2ray -confdir /usr/local/etc/v2ray/
|
||||
Restart=on-failure
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ User=nobody
|
|||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
||||
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
||||
NoNewPrivileges=true
|
||||
Environment=V2RAY_LOCATION_ASSET=/usr/local/lib/v2ray/
|
||||
Environment=V2RAY_LOCATION_ASSET=/usr/local/share/v2ray/
|
||||
ExecStart=/usr/local/bin/v2ray -config /usr/local/etc/v2ray/%i.json
|
||||
Restart=on-failure
|
||||
|
||||
|
|
Loading…
Reference in New Issue