1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00

Update restore

This commit is contained in:
Thomas 2024-08-31 08:41:59 +02:00 committed by GitHub
parent a7b6c57147
commit 064f8a4871
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"
ynh_script_progression "Restoration completed for $app"