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"