File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2698,7 +2698,7 @@ AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
2698
2698
ExecStart=/etc/v2ray-agent/hysteria/hysteria server -c /etc/v2ray-agent/hysteria/conf/config.json --log-level debug
2699
2699
Restart=on-failure
2700
2700
RestartSec=10
2701
- LimitNPROC=10000
2701
+ LimitNPROC=infinity
2702
2702
LimitNOFILE=infinity
2703
2703
2704
2704
[Install]
@@ -2750,6 +2750,8 @@ installSingBoxService() {
2750
2750
touch /etc/systemd/system/sing-box.service
2751
2751
cat << EOF >/etc/systemd/system/sing-box.service
2752
2752
[Unit]
2753
+ Description=Sing-Box Service
2754
+ Documentation=https://sing-box.sagernet.org
2753
2755
After=network.target nss-lookup.target
2754
2756
2755
2757
[Service]
@@ -2761,7 +2763,7 @@ ExecStart=${execStart}
2761
2763
ExecReload=/bin/kill -HUP $MAINPID
2762
2764
Restart=on-failure
2763
2765
RestartSec=10
2764
- LimitNPROC=512
2766
+ LimitNPROC=infinity
2765
2767
LimitNOFILE=infinity
2766
2768
2767
2769
[Install]
@@ -2793,7 +2795,7 @@ User=root
2793
2795
ExecStart=${execStart}
2794
2796
Restart=on-failure
2795
2797
RestartPreventExitStatus=23
2796
- LimitNPROC=10000
2798
+ LimitNPROC=infinity
2797
2799
LimitNOFILE=infinity
2798
2800
[Install]
2799
2801
WantedBy=multi-user.target
@@ -9718,7 +9720,7 @@ menu() {
9718
9720
echoContent red " \n=============================================================="
9719
9721
echoContent green " 原作者:mack-a"
9720
9722
echoContent green " 作者:Wizard89"
9721
- echoContent green " 当前版本:v3.1.20 "
9723
+ echoContent green " 当前版本:v3.1.21 "
9722
9724
echoContent green " Github:https://github.com/Wizard89/v2ray-agent"
9723
9725
echoContent green " 描述:八合一共存脚本\c"
9724
9726
showInstallStatus
You can’t perform that action at this time.
0 commit comments