经过shell脚本监测php运行状态,重启php

#! /bin/sh while [ true ];do #!监听指定url状态码 if [ `curl -I -m 10 -o /dev/null -s -w %{http_code} http://www.test.com/index.php` -eq 502 ]; then #!重启php /etc/in
相关文章
相关标签/搜索