no more ;

This commit is contained in:
Kay0u 2020-12-18 17:03:51 +01:00
parent 58dcf45bd9
commit b7c43df661
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -272,9 +272,9 @@ WantedBy=multi-user.target
# Validate that the new php conf doesn't break php-fpm entirely
if ! php-fpm${phpversion} --test 2>/dev/null
then
php-fpm${phpversion} --test || true;
ynh_secure_remove --file="$finalphpconf";
ynh_die --message="The new configuration broke php-fpm?";
php-fpm${phpversion} --test || true
ynh_secure_remove --file="$finalphpconf"
ynh_die --message="The new configuration broke php-fpm?"
fi
ynh_systemd_action --service_name=$fpm_service --action=reload
fi