From f9e922e8ea1280260bbc3f5992aebc46d0489547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 2 Apr 2023 22:12:39 +0200 Subject: [PATCH] Update restore --- scripts/restore | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/restore b/scripts/restore index 3e28028..2495a67 100644 --- a/scripts/restore +++ b/scripts/restore @@ -17,9 +17,6 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" -# $install_dir will automatically be initialized with some decent -# permission by default ... however, you may need to recursively reapply -# ownership to all files such as after the ynh_setup_source step chown -R $app:www-data "$install_dir" #================================================= @@ -29,7 +26,6 @@ ynh_script_progression --message="Restoring the data directory..." --weight=50 ynh_restore_file --origin_path="$data_dir" --not_mandatory -# (Same as for install dir) chown -R $app:www-data "$data_dir" #================================================= @@ -44,8 +40,6 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version #================================================= ynh_script_progression --message="Restoring system configurations related to $app..." --weight=10 -# This should be a symetric version of what happens in the install script - ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/systemd/system/$app.service"