From 39ec3e746880c797c225c3cc9d683be4dfc0a122 Mon Sep 17 00:00:00 2001 From: wulabing <91d$5gKrmVShheJf> Date: Mon, 30 Dec 2019 16:14:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=8C=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E9=97=B4=E9=80=BB=E8=BE=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 优化逻辑 --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 4705a72..1cb9792 100644 --- a/install.sh +++ b/install.sh @@ -496,7 +496,10 @@ enable_process_systemd(){ } stop_process_systemd(){ - systemctl stop nginx + if [[ "$shell_mode" -ne "h2" ]] + then + systemctl stop nginx + fi systemctl stop v2ray } nginx_process_disabled(){ @@ -856,6 +859,7 @@ menu(){ bbr_boost_sh ;; 12) + stop_process_systemd ssl_update_manuel start_process_systemd ;;