diff --git a/src/download-v2ray.sh b/src/download-v2ray.sh index e836502..a54583a 100644 --- a/src/download-v2ray.sh +++ b/src/download-v2ray.sh @@ -55,8 +55,9 @@ Environment="V2RAY_VMESS_AEAD_FORCED=false" #AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE NoNewPrivileges=true ExecStart=/usr/bin/env v2ray.vmess.aead.forced=false /usr/bin/v2ray/v2ray run -config /etc/v2ray/config.json -#Restart=on-failure -Restart=always +Restart=on-failure +StartLimitBurst=0 +#Restart=always [Install] WantedBy=multi-user.target diff --git a/v2ray.sh b/v2ray.sh index 3f7f1f3..33430d4 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.59" +_version="v3.60" cmd="apt-get"