1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Merge pull request #98 from YunoHost-Apps/fix-php-config

Fix PHP config settings installation
This commit is contained in:
Éric Gaspar 2023-01-15 15:16:16 +01:00 committed by GitHub
commit 33b63ca97a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -168,6 +168,14 @@ if [ $phpversion != "none" ]
then
ynh_script_progression --message="Configuring PHP-FPM..." --weight=2
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
# Create a dedicatedPHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low --phpversion=$phpversion
fi