From be5a4cba21c486cbef19a3a986219ed62fbce988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Sun, 3 Dec 2017 13:09:15 +0100 Subject: [PATCH] use correct helper for all restore --- scripts/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 80fa5a7..6412957 100644 --- a/scripts/restore +++ b/scripts/restore @@ -29,8 +29,8 @@ sudo chown -R www-data: $final_path/data/ sudo chown -R www-data: $final_path/extensions/ # Restore conf files -ynh_backup nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf -ynh_backup $app.cron /etc/cron.d/$app +ynh_restore_file "/etc/nginx/conf.d/$domain.d/$app.conf" +ynh_restore_file "/etc/cron.d/$app.cron" # Restore mysql dump ynh_mysql_create_db "$db_name" "$db_user" "$db_pass"