mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update opcache.sh
This commit is contained in:
@@ -53,6 +53,7 @@ elif [ "$actionType" == 'uninstall' ];then
|
||||
fi
|
||||
echo "systemctl restart php${version}-php-fpm"
|
||||
php_status=`systemctl status php${version}-php-fpm | grep inactive`
|
||||
echo "php_status:${php_status}"
|
||||
if [ "$php_status" != "" ];then
|
||||
systemctl restart php${version}-php-fpm
|
||||
fi
|
||||
Reference in New Issue
Block a user