mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
default single config and remove V2RAY_LOCATION_ASSET
This commit is contained in:
parent
ea5d1ee664
commit
c162fa86e9
@ -8,8 +8,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/share/v2ray/
|
||||
ExecStart=/usr/local/bin/v2ray -confdir /usr/local/etc/v2ray/
|
||||
ExecStart=/usr/local/bin/v2ray -config /usr/local/etc/v2ray/config.json
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
@ -8,7 +8,6 @@ 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/share/v2ray/
|
||||
ExecStart=/usr/local/bin/v2ray -config /usr/local/etc/v2ray/%i.json
|
||||
Restart=on-failure
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user