From 12dd0e64358f6214d302bfa02a56eb3f77e69aea Mon Sep 17 00:00:00 2001 From: JackLee_CN <809262979@qq.com> Date: Tue, 25 Oct 2022 20:56:52 +0800 Subject: [PATCH] updata php8-fmd --- onmp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onmp.sh b/onmp.sh index 33c64a9..bf1225d 100644 --- a/onmp.sh +++ b/onmp.sh @@ -612,14 +612,14 @@ onmp_restart() /opt/etc/init.d/S70mysqld stop > /dev/null 2>&1 /opt/etc/init.d/S79php8-fpm stop > /dev/null 2>&1 /opt/etc/init.d/S80nginx stop > /dev/null 2>&1 - killall -9 nginx mysqld php-fpm > /dev/null 2>&1 + killall -9 nginx mysqld php8-fpm > /dev/null 2>&1 sleep 3 /opt/etc/init.d/S70mysqld start > /dev/null 2>&1 /opt/etc/init.d/S79php8-fpm start > /dev/null 2>&1 /opt/etc/init.d/S80nginx start > /dev/null 2>&1 sleep 3 num=0 - for PROC in 'nginx' 'php-fpm' 'mysqld'; do + for PROC in 'nginx' 'php8-fpm' 'mysqld'; do if [ -n "`pidof $PROC`" ]; then echo $PROC "启动成功"; else