Skip to content

Commit

Permalink
default single config and remove V2RAY_LOCATION_ASSET
Browse files Browse the repository at this point in the history
  • Loading branch information
kslr committed Aug 18, 2020
1 parent ea5d1ee commit c162fa8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions release/config/systemd/system/v2ray.service
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 0 additions & 1 deletion release/config/systemd/system/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c162fa8

Please sign in to comment.