1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefly-iii_ynh.git synced 2024-09-03 18:36:13 +02:00

Specify PHP version in config helper

This commit is contained in:
tituspijean 2022-03-21 19:36:04 +01:00
parent a5b5236918
commit 35bfd1fa0e
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
3 changed files with 3 additions and 3 deletions

View file

@ -115,7 +115,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Configuring PHP-FPM..." ynh_script_progression --message="Configuring PHP-FPM..."
# Create a dedicated PHP-FPM config # Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low ynh_add_fpm_config --usage=low --footprint=low --phpversion=$phpversion
#================================================= #=================================================
# SPECIFIC SETUP # SPECIFIC SETUP

View file

@ -84,7 +84,7 @@ ynh_script_progression --message="Restoring PHP-FPM configuration..."
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
# Recreate a dedicated PHP-FPM config # Recreate a dedicated PHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low ynh_add_fpm_config --usage=low --footprint=low --phpversion=$phpversion
#================================================= #=================================================
# RESTORE THE MYSQL DATABASE # RESTORE THE MYSQL DATABASE

View file

@ -165,7 +165,7 @@ ynh_install_app_dependencies "$pkg_dependencies"
ynh_script_progression --message="Upgrading PHP-FPM configuration..." ynh_script_progression --message="Upgrading PHP-FPM configuration..."
# Create a dedicated php-fpm config # Create a dedicated php-fpm config
ynh_add_fpm_config --usage=low --footprint=low ynh_add_fpm_config --usage=low --footprint=low --phpversion=$phpversion
#================================================= #=================================================
# SPECIFIC UPGRADE # SPECIFIC UPGRADE