Fixing nginx+php-fpm installer variant

This commit is contained in:
myvesta 2020-06-21 23:34:16 +02:00 committed by GitHub
commit 8203fbca22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -980,7 +980,12 @@ fi
#----------------------------------------------------------#
if [ "$phpfpm" = 'yes' ]; then
if [ "$release" -eq 9 ]; then
if [ "$release" -eq 10 ]; then
cp -f $vestacp/php-fpm/www.conf /etc/php/7.3/fpm/pool.d/www.conf
update-rc.d php7.3-fpm defaults
service php7.3-fpm start
check_result $? "php-fpm start failed"
elif [ "$release" -eq 9 ]; then
cp -f $vestacp/php-fpm/www.conf /etc/php/7.0/fpm/pool.d/www.conf
update-rc.d php7.0-fpm defaults
service php7.0-fpm start