From 14b0ff62ee6a9657d9dc3ada75fafe54d7ff6bdf Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Fri, 13 Dec 2024 17:01:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=84=9A=E6=9C=AC):=20=E4=BF=AE=E5=A4=8Dlx?= =?UTF-8?q?c=E8=99=9A=E6=8B=9F=E5=8C=96=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E5=90=AF=E5=8A=A8sing-box?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 86aeca3..f94ddb8 100644 --- a/install.sh +++ b/install.sh @@ -2696,7 +2696,7 @@ AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE ExecStart=/etc/v2ray-agent/hysteria/hysteria server -c /etc/v2ray-agent/hysteria/conf/config.json --log-level debug Restart=on-failure RestartSec=10 -LimitNPROC=10000 +LimitNPROC=infinity LimitNOFILE=infinity [Install] @@ -2750,6 +2750,8 @@ installSingBoxService() { touch /etc/systemd/system/sing-box.service cat </etc/systemd/system/sing-box.service [Unit] +Description=Sing-Box Service +Documentation=https://sing-box.sagernet.org After=network.target nss-lookup.target [Service] @@ -2761,7 +2763,7 @@ ExecStart=${execStart} ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure RestartSec=10 -LimitNPROC=512 +LimitNPROC=infinity LimitNOFILE=infinity [Install] @@ -2793,7 +2795,7 @@ User=root ExecStart=${execStart} Restart=on-failure RestartPreventExitStatus=23 -LimitNPROC=10000 +LimitNPROC=infinity LimitNOFILE=infinity [Install] WantedBy=multi-user.target @@ -9714,7 +9716,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v3.3.23" + echoContent green "当前版本:v3.3.24" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus