From 5be8eaa1f12a7acc014066ce5f6a0defdb4673c9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 11 Jul 2021 16:09:09 +0200 Subject: [PATCH] Update restore --- scripts/restore | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index ebbdfc8..e8453e3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -84,7 +84,7 @@ chown -R $app $final_path/{includes,files,upload} # RESTORE OF THE PHP-FPM CONFIGURATION #================================================= -ynh_restore_file "/etc/php/$phpversion/fpm/pool.d/$app.conf" +ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" #ynh_restore_file "/etc/php$phpversion/fpm/conf.d/20-$app.ini" #================================================= @@ -93,7 +93,8 @@ ynh_restore_file "/etc/php/$phpversion/fpm/pool.d/$app.conf" # RESTORE THE SK.PHP FILE #================================================= -ynh_restore_file "/etc/$app/sk.php" +ynh_restore_file --origin_path="/etc/$app/sk.php" + chown -R $app "/etc/$app/sk.php" #=================================================