mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Remove php7.1 config files before upgrade
This commit is contained in:
parent
2196773592
commit
ed52d49092
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ ynh_delete_file_checksum () {
|
|||
# usage: ynh_add_fpm_config
|
||||
ynh_add_fpm7.2_config () {
|
||||
# Configure PHP-FPM 7.1 by default
|
||||
ynh_secure_remove "/etc/php/7.1/fpm/pool.d/$app.conf" 2>&1
|
||||
ynh_secure_remove "/etc/php/7.1/fpm/conf.d/20-$app.ini" 2>&1
|
||||
local fpm_config_dir="/etc/php/7.2/fpm"
|
||||
local fpm_service="php7.2-fpm"
|
||||
ynh_app_setting_set $app fpm_config_dir "$fpm_config_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue