VPS一键四合一脚本(reality+vmess-argo+hysteria2+tuic5)

This commit is contained in:
eooce
2024-06-29 04:41:30 +08:00
committed by GitHub
parent d5b67e2c0b
commit ef6f3a9307
+2 -2
View File
@@ -988,9 +988,9 @@ if [ ${check_singbox} -eq 0 ]; then
1)
if command -v nginx &>/dev/null; then
if [ -f /etc/alpine-release ]; then
rc-service argo status | grep -q "started" && rc-service nginx stop || red "nginx not running"
rc-service nginx status | grep -q "started" && rc-service nginx stop || red "nginx not running"
else
[ "$(systemctl is-active argo)" = "active" ] && systemctl stop nginx || red "ngixn not running"
[ "$(systemctl is-active nginx)" = "active" ] && systemctl stop nginx || red "ngixn not running"
fi
else
yellow "Nginx is not installed"