摘要:
#!/bin/bash ###获取当前时间 time="$(date +"%Y%m%d-%H:%M")" ###查看fpm服务是否运行 i=`netstat -an | grep php-cgi | wc -l` if [ $i = 0 ] then ###重启php服务 /etc/init.d/p 阅读全文
posted @ 2024-03-20 21:41
长虫山小木屋
阅读(60)
评论(0)
推荐(0)
|
摘要:
#!/bin/bash ###获取当前时间 time="$(date +"%Y%m%d-%H:%M")" ###查看fpm服务是否运行 i=`netstat -an | grep php-cgi | wc -l` if [ $i = 0 ] then ###重启php服务 /etc/init.d/p 阅读全文
posted @ 2024-03-20 21:41
长虫山小木屋
阅读(60)
评论(0)
推荐(0)
|