From 093e4dff8e5b5d98dcb7f77a16759c64f26df659 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 10 Apr 2022 07:33:56 +0200 Subject: [PATCH] Update restore --- scripts/restore | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index 6dc5785..bb373a9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -64,7 +64,6 @@ ynh_restore_file --origin_path="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chmod 600 $final_path/config/ampache.cfg.php #================================================= # REINSTALL DEPENDENCIES @@ -79,8 +78,7 @@ ynh_install_app_dependencies $pkg_dependencies #================================================= ynh_script_progression --message="Restoring PHP-FPM configuration..." -# Create a dedicated PHP-FPM config -ynh_add_fpm_config +ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" #================================================= # RESTORE THE MYSQL DATABASE