From 3e3452005d173d221d945c7c4f31f9eac426a324 Mon Sep 17 00:00:00 2001 From: DuckSoft Date: Sun, 6 Sep 2020 16:50:41 +0800 Subject: [PATCH] removing unused systemd unit files these are already included in release package and not used anymore. --- systemd/system/v2ray.service | 15 --------------- systemd/system/v2ray@.service | 15 --------------- 2 files changed, 30 deletions(-) delete mode 100644 systemd/system/v2ray.service delete mode 100644 systemd/system/v2ray@.service diff --git a/systemd/system/v2ray.service b/systemd/system/v2ray.service deleted file mode 100644 index e9d6310..0000000 --- a/systemd/system/v2ray.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=V2Ray Service -After=network.target nss-lookup.target - -[Service] -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/ -Restart=on-failure - -[Install] -WantedBy=multi-user.target diff --git a/systemd/system/v2ray@.service b/systemd/system/v2ray@.service deleted file mode 100644 index 8455d9d..0000000 --- a/systemd/system/v2ray@.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=V2Ray Service -After=network.target nss-lookup.target - -[Service] -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 - -[Install] -WantedBy=multi-user.target