mirror of https://github.com/v2ray/v2ray-core
default single config and remove V2RAY_LOCATION_ASSET
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…
Reference in New Issue