1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-05-12 10:12:43 +02:00
parent 8660b53c6a
commit cb3fc1bb2e

View file

@ -47,14 +47,7 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=2
fpm_footprint="medium" fpm_footprint="medium"
fpm_free_footprint=0 fpm_free_footprint=0
fpm_usage="low"
# 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
ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint 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_free_footprint --value=$fpm_free_footprint