testing: Start FPM on centos 8

This commit is contained in:
Markus Frosch 2019-11-19 16:06:25 +01:00
parent b8c3752124
commit 9167f87c15

View File

@ -26,7 +26,9 @@ elif [ -d /etc/opt/rh/rh-php70/php.d ]; then
fpm="scl enable rh-php70 -- php-fpm"
elif [ -d /etc/php.d ]; then
php_d=/etc/php.d
if [ "$ID" = fedora ] && [ "$VERSION_ID" -ge 27 ]; then
if [ "$ID" = fedora ] && [ "$VERSION_ID" -ge 27 ] ||
[[ "$ID_LIKE" = *rhel* ]] && [ "$VERSION_ID" -ge 8 ]
then
fpm="php-fpm"
if [ -d /run ]; then