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

Add extra_php_dependencies

This commit is contained in:
ericgaspar 2020-12-09 15:47:40 +01:00
parent 60ab9acfe9
commit cbe03aaf5a
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 4 additions and 2 deletions

View file

@ -109,7 +109,7 @@ else
usage=high
fi
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=$usage --footprint=medium
ynh_add_fpm_config --usage=$usage --footprint=medium --package="$extra_php_dependencies"
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================

View file

@ -96,6 +96,8 @@ chown root: $final_path/wp-config.php
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
ynh_add_fpm_config --package="$extra_php_dependencies"
#=================================================
# RESTORE THE FAIL2BAN CONFIGURATION
#=================================================

View file

@ -196,7 +196,7 @@ if [ $overwrite_phpfpm -eq 1 ]
then
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=4
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --package="$extra_php_dependencies"
fi
#=================================================