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