From c162fa86e93b92818b3b4416fccb9b272ddd2ddd Mon Sep 17 00:00:00 2001 From: Kslr Date: Tue, 18 Aug 2020 20:44:00 +0800 Subject: [PATCH] default single config and remove V2RAY_LOCATION_ASSET --- release/config/systemd/system/v2ray.service | 3 +-- release/config/systemd/system/v2ray@.service | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/release/config/systemd/system/v2ray.service b/release/config/systemd/system/v2ray.service index a52840ea4..799dc7e8e 100644 --- a/release/config/systemd/system/v2ray.service +++ b/release/config/systemd/system/v2ray.service @@ -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] diff --git a/release/config/systemd/system/v2ray@.service b/release/config/systemd/system/v2ray@.service index 0ac2be014..d3cc518a4 100644 --- a/release/config/systemd/system/v2ray@.service +++ b/release/config/systemd/system/v2ray@.service @@ -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