From 41577b9bc7a7ddd57e301c754852a816192ae88a Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Sun, 31 Mar 2019 15:25:25 +0200 Subject: [PATCH] use the right folder for app.conf backup and restore --- scripts/backup | 2 +- scripts/restore | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/backup b/scripts/backup index cee0a2b4..4220f643 100644 --- a/scripts/backup +++ b/scripts/backup @@ -53,7 +53,7 @@ ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= ynh_print_info "Backing up php-fpm configuration..." -ynh_backup "/etc/php/7.0/fpm/pool.d/$app.conf" +ynh_backup "/etc/php/7.2/fpm/pool.d/$app.conf" #================================================= # BACKUP THE MYSQL DATABASE diff --git a/scripts/restore b/scripts/restore index fb5dd4b2..aa21579d 100644 --- a/scripts/restore +++ b/scripts/restore @@ -77,7 +77,7 @@ chown -R root: $final_path # RESTORE THE PHP-FPM CONFIGURATION #================================================= -ynh_restore_file "/etc/php/7.0/fpm/pool.d/$app.conf" +ynh_restore_file "/etc/php/7.2/fpm/pool.d/$app.conf" #================================================= # SPECIFIC RESTORATION @@ -131,7 +131,7 @@ ynh_restore_file "/etc/logrotate.d/$app" #================================================= ynh_print_info "Reloading nginx web server and php-fpm..." -systemctl reload php7.0-fpm +systemctl reload php7.2-fpm systemctl reload nginx #=================================================