mirror of
https://github.com/schroinerxy/Sing-box.git
synced 2026-06-21 20:35:47 +08:00
VPS一键四合一脚本(reality+vmess-argo+hysteria2+tuic5)
This commit is contained in:
+2
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user