diff --git a/scripts/install b/scripts/install index 019f180..0b1fde0 100755 --- a/scripts/install +++ b/scripts/install @@ -42,6 +42,12 @@ ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" +#================================================= +# PHP-FPM CONFIGURATION +#================================================= +ynh_script_progression --message="Configuring PHP-FPM..." --weight=1 + +ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint # Create a dedicated NGINX config ynh_add_nginx_config diff --git a/scripts/remove b/scripts/remove index ce76378..a05a07a 100755 --- a/scripts/remove +++ b/scripts/remove @@ -17,6 +17,9 @@ ynh_script_progression --message="Removing system configurations related to $app # Remove the dedicated NGINX config ynh_remove_nginx_config +# Remove the dedicated PHP-FPM config +ynh_remove_fpm_config + # Remove metapackage and its dependencies ynh_remove_nodejs