File tree 5 files changed +8
-8
lines changed
5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ https://wiki.linuxfoundation.org/lsb/fhs
9
9
```
10
10
installed: /usr/local/bin/v2ray
11
11
installed: /usr/local/bin/v2ctl
12
- installed: /usr/local/lib /v2ray/geoip.dat
13
- installed: /usr/local/lib /v2ray/geosite.dat
12
+ installed: /usr/local/share /v2ray/geoip.dat
13
+ installed: /usr/local/share /v2ray/geosite.dat
14
14
installed: /usr/local/etc/v2ray/00_log.json
15
15
installed: /usr/local/etc/v2ray/01_api.json
16
16
installed: /usr/local/etc/v2ray/02_dns.json
Original file line number Diff line number Diff line change 13
13
14
14
# 0 0 * * * /usr/local/bin/install-dat-release > /dev/null 2>&1
15
15
16
- # You can modify it to /usr/local/share /v2ray/
17
- V2RAY=" /usr/local/lib /v2ray/"
16
+ # You can modify it to /usr/local/lib /v2ray/
17
+ V2RAY=" /usr/local/share /v2ray/"
18
18
DOWNLOAD_LINK_GEOIP=" https://github.com/v2ray/geoip/releases/latest/download/geoip.dat"
19
19
DOWNLOAD_LINK_GEOSITE=" https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat"
20
20
Original file line number Diff line number Diff line change 13
13
# https://github.com/v2fly/fhs-install-v2ray/issues
14
14
15
15
# If you modify the following variables, you also need to modify the unit file yourself:
16
- # You can modify it to /usr/local/share /v2ray/
17
- DAT_PATH=' /usr/local/lib /v2ray/'
16
+ # You can modify it to /usr/local/lib /v2ray/
17
+ DAT_PATH=' /usr/local/share /v2ray/'
18
18
# You can modify it to /etc/v2ray/
19
19
JSON_PATH=' /usr/local/etc/v2ray/'
20
20
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ User=nobody
7
7
CapabilityBoundingSet =CAP_NET_ADMIN CAP_NET_BIND_SERVICE
8
8
AmbientCapabilities =CAP_NET_ADMIN CAP_NET_BIND_SERVICE
9
9
NoNewPrivileges =true
10
- Environment =V2RAY_LOCATION_ASSET =/usr/local/lib /v2ray/
10
+ Environment =V2RAY_LOCATION_ASSET =/usr/local/share /v2ray/
11
11
ExecStart =/usr/local/bin/v2ray -confdir /usr/local/etc/v2ray/
12
12
Restart =on-failure
13
13
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ User=nobody
7
7
CapabilityBoundingSet =CAP_NET_ADMIN CAP_NET_BIND_SERVICE
8
8
AmbientCapabilities =CAP_NET_ADMIN CAP_NET_BIND_SERVICE
9
9
NoNewPrivileges =true
10
- Environment =V2RAY_LOCATION_ASSET =/usr/local/lib /v2ray/
10
+ Environment =V2RAY_LOCATION_ASSET =/usr/local/share /v2ray/
11
11
ExecStart =/usr/local/bin/v2ray -config /usr/local/etc/v2ray/%i.json
12
12
Restart =on-failure
13
13
You can’t perform that action at this time.
0 commit comments