From c744b47ccf8a6cfe94a8ebec00c9e7af9f3f38f9 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Thu, 27 Apr 2023 23:33:32 +0200 Subject: [PATCH] Fix PHP-FPM settings: init variables upon install --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index a41ae79..007f88c 100644 --- a/scripts/install +++ b/scripts/install @@ -12,6 +12,9 @@ source /usr/share/yunohost/helpers # Initialize the SFTP setting for the config panel ynh_app_setting_set --app=$app --key=with_sftp --value="false" ynh_app_setting_set --app=$app --key=password --value=$(ynh_string_random) +ynh_app_setting_set --app=$app --key=fpm_footprint --value="medium" +ynh_app_setting_set --app=$app --key=fpm_free_footprint --value="0" +ynh_app_setting_set --app=$app --key=fpm_usage --value="medium" #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE