diff --git a/dnmp.sh b/dnmp.sh index 06e0c52..02b1113 100644 --- a/dnmp.sh +++ b/dnmp.sh @@ -139,6 +139,7 @@ stop(){ run_check # 获取用户传递的第二个参数 service=$2 + echo $service # 如果service为空,或者为all,则停止所有服务 if [ "${service}" = "" ] || [ "${service}" = "all" ] then