From 3fc42f1cd5f0fb7986ce4cce729a6c59200f88fe Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 7 Apr 2024 17:11:51 +0200 Subject: [PATCH] Update install: simplify php config hell --- scripts/install | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/scripts/install b/scripts/install index fae5cac..ff83966 100644 --- a/scripts/install +++ b/scripts/install @@ -7,18 +7,6 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# INITIALIZE AND STORE SETTINGS -#================================================= - -fpm_footprint="low" -fpm_free_footprint=0 -fpm_usage="low" - -ynh_app_setting_set --app="$app" --key="fpm_footprint" --value="$fpm_footprint" -ynh_app_setting_set --app="$app" --key="fpm_free_footprint" --value="$fpm_free_footprint" -ynh_app_setting_set --app="$app" --key="fpm_usage" --value="$fpm_usage" - #================================================= # CONFIGURING RIGHTS #================================================= @@ -74,7 +62,7 @@ chown -R "$app:www-data" "$install_dir" ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 # Create a dedicated PHP-FPM config -ynh_add_fpm_config --usage="$fpm_usage" --footprint="$fpm_footprint" +ynh_add_fpm_config # Create a dedicated NGINX config ynh_add_nginx_config