修复双版本间逻辑问题

优化逻辑
pull/355/head
wulabing 2019-12-30 16:14:21 +08:00
parent 1eaba2853b
commit 39ec3e7468
1 changed files with 5 additions and 1 deletions

View File

@ -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
;;