Shell #!/bin/bash # 检查Nginx是否运行 if pgrep nginx > /dev/null 2>&1; then echo "Nginx is running." exit 0 else echo "Nginx is no...
你好,欢迎光临!
Shell #!/bin/bash # 检查Nginx是否运行 if pgrep nginx > /dev/null 2>&1; then echo "Nginx is running." exit 0 else echo "Nginx is no...