From cb3fc1bb2e80363aa06326602bf7d69904d9a1be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 12 May 2023 10:12:43 +0200 Subject: [PATCH] Update install --- scripts/install | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index 78cd258..12cdb99 100644 --- a/scripts/install +++ b/scripts/install @@ -47,14 +47,7 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=2 fpm_footprint="medium" fpm_free_footprint=0 - -# If the app is private, set the usage to low, otherwise to high. -if [ $is_public -eq 0 ] -then - fpm_usage="low" -else - fpm_usage="high" -fi +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