Nginx共1篇
自动检测PHP、Redis、MySQL、Nginx服务状态并重启Shell脚本-胖大海博客资源网

自动检测PHP、Redis、MySQL、Nginx服务状态并重启Shell脚本

PHP监控#!/bin/bash # Linux监控PHP服务,关闭就自动重启 pgrep -x php-fpm &> /dev/null if [ $? -ne 0 ];then /etc/init.d/php-fpm-56 restart echo '监控到php56已停止,已执行重启计...
xiaohai的头像-胖大海博客资源网黄金会员xiaohai4个月前
05496360