From 79be7a13d06c08d4287d3fb9d664d446fff0ea3c Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Thu, 20 Jan 2022 20:59:16 +0800 Subject: [PATCH] fix #822 --- src/download-v2ray.sh | 4 ++-- v2ray.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/download-v2ray.sh b/src/download-v2ray.sh index ea531aa..554f792 100644 --- a/src/download-v2ray.sh +++ b/src/download-v2ray.sh @@ -51,8 +51,8 @@ Type=simple User=root #User=nobody Environment="V2RAY_VMESS_AEAD_FORCED=false" -CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +#CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +#AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE NoNewPrivileges=true ExecStart=/usr/bin/env v2ray.vmess.aead.forced=false /usr/bin/v2ray/v2ray -config /etc/v2ray/config.json #Restart=on-failure diff --git a/v2ray.sh b/v2ray.sh index 3c49914..7df3a91 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v3.49" +_version="v3.50" cmd="apt-get"