1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jeedom_ynh.git synced 2024-09-03 19:26:26 +02:00

Update restore

This commit is contained in:
yalh76 2020-06-21 23:47:18 +02:00
parent 45d2294248
commit a9e2d7bb74

View file

@ -62,14 +62,13 @@ ynh_script_progression --message="Restoring the app main directory..."
ynh_restore_file --origin_path="$final_path"
#=================================================
# RESTORE RIGHTS
# RESTORE USER RIGHTS
#=================================================
ynh_script_progression --message="Restoring rights..."
ynh_script_progression --message="Restoring user rights..."
# Restore permissions on app files
chown -R $app: $final_path
chmod 775 -R $final_path
chown -R www-data:www-data $final_path
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION