From fefe82763706dea28b3edc28e164313425cfe5ac Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 21 Mar 2024 01:52:23 +0100 Subject: [PATCH] replace 'ynh_backup' by 'ynh_restore_file' because it's the restore script --- scripts/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index be31022..c8d6194 100644 --- a/scripts/restore +++ b/scripts/restore @@ -41,13 +41,13 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" #================================================= ynh_script_progression --message="Restoring the log files..." --weight=1 -ynh_backup --origin_path="/var/log/nginx/$domain-access.log" +ynh_restore_file --origin_path="/var/log/nginx/$domain-access.log" log_path="/var/log/$app" mkdir -p "$log_path" chown "$app":www-data "$log_path" -ynh_backup --origin_path="$log_path/freshrss.log" +ynh_restore_file --origin_path="$log_path/freshrss.log" #================================================= # RESTORE THE NGINX CONFIGURATION