From 4ec516dd63bcda1b08762c3c6807d8352b11d225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Mon, 13 Mar 2017 13:39:53 +0100 Subject: [PATCH] fix retore www twice --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 4ca9bd8..cca0b83 100644 --- a/scripts/restore +++ b/scripts/restore @@ -29,8 +29,7 @@ sudo chown -R www-data: $final_path/data/ sudo chown -R www-data: $final_path/extensions/ # Restore conf files -sudo cp -a www/. $final_path -sudo cp nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf +ynh_backup nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf ynh_backup $app.cron /etc/cron.d/$app # Restore mysql dump