From 064f8a48719f94f5a73f402015e34d578679a25c Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sat, 31 Aug 2024 08:41:59 +0200 Subject: [PATCH] Update restore --- scripts/restore | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index 1ebe511..835cca0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -36,9 +36,7 @@ ynh_psql_db_shell < "./db.sql" ynh_script_progression "Restoring the app main directory..." ynh_restore "$install_dir" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 400 $install_dir/.env -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app: "$install_dir" #================================================= # RESTORE SYSTEMD #================================================= @@ -78,4 +76,4 @@ ynh_systemctl --service=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression "Restoration completed for $app" \ No newline at end of file +ynh_script_progression "Restoration completed for $app"