Skip to content

Commit

Permalink
add LimitNOFILE
Browse files Browse the repository at this point in the history
  • Loading branch information
233boy committed Oct 5, 2022
1 parent b4153f2 commit 776d7e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/download-v2ray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ NoNewPrivileges=true
ExecStart=/usr/bin/env v2ray.vmess.aead.forced=false /usr/bin/v2ray/v2ray run -config /etc/v2ray/config.json
Restart=on-failure
StartLimitBurst=0
LimitNOFILE=1048576
LimitNPROC=512
#Restart=always
[Install]
Expand Down
4 changes: 1 addition & 3 deletions v2ray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ none='\e[0m'
# Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1

_version="v3.61"
_version="v3.62"

cmd="apt-get"

Expand Down Expand Up @@ -2618,8 +2618,6 @@ menu() {
echo
echo "捐赠脚本作者: https://233v2.com/donate/"
echo
echo "捐助 V2Ray: https://www.v2ray.com/chapter_00/02_donate.html"
echo
echo -e "$yellow 1. $none查看 V2Ray 配置"
echo
echo -e "$yellow 2. $none修改 V2Ray 配置"
Expand Down

0 comments on commit 776d7e6

Please sign in to comment.