1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpbb_ynh.git synced 2024-09-03 19:56:36 +02:00
This commit is contained in:
ericgaspar 2021-12-08 16:14:54 +01:00
parent eb418a6b45
commit a965edda4d
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 6 deletions

View file

@ -128,7 +128,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Configuring PHP-FPM..." --weight=4
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=medium --footprint=medium
ynh_add_fpm_config --usage=low --footprint=low
#=================================================
# SETUP APPLICATION WITH CLI

View file

@ -31,7 +31,6 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name)
db_user=$db_name
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
fpm_footprint=$(ynh_app_setting_get --app=$app --key=fpm_footprint)
fpm_usage=$(ynh_app_setting_get --app=$app --key=fpm_usage)
@ -77,7 +76,6 @@ ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weig
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
# Recreate a dedicated php-fpm config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --phpversion=$phpversion

View file

@ -61,13 +61,13 @@ fi
# If fpm_footprint doesn't exist, create it
if [ -z "$fpm_footprint" ]; then
fpm_footprint=medium
fpm_footprint=low
ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint
fi
# If fpm_usage doesn't exist, create it
if [ -z "$fpm_usage" ]; then
fpm_usage=medium
fpm_usage=low
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
fi
@ -114,7 +114,6 @@ then
ynh_secure_remove --file="$new_phpbb_dir"
fi
#=================================================
# NGINX CONFIGURATION
#=================================================