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

Merge branch 'master' into test2

This commit is contained in:
Éric Gaspar 2020-11-06 22:56:20 +01:00 committed by GitHub
commit 9a1d881a8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -38,7 +38,7 @@ ynh_backup --src_path="$final_path"
# BACKUP MEDIA
#=================================================
ynh_backup --src_path="/home/yunohost.$app" --is_big
#ynh_backup --src_path="/home/yunohost.$app" --is_big
#=================================================
# BACKUP THE NGINX CONFIGURATION

View file

@ -65,10 +65,10 @@ ynh_system_user_create --username=$app
#=================================================
# RESTORE DATA
#=================================================
ynh_script_progression --message="Restoring Lychee data..."
#ynh_script_progression --message="Restoring Lychee data..."
# Use --not_mandatory for the data directory, because if the backup has been made with BACKUP_CORE_ONLY, there's no data into the backup.
ynh_restore_file --origin_path="/home/yunohost.$app" --not_mandatory
#ynh_restore_file --origin_path="/home/yunohost.$app" --not_mandatory
#=================================================
# RESTORE USER RIGHTS

View file

@ -138,7 +138,7 @@ ynh_store_file_checksum --file="$final_path/.env"
# Set permissions on app files
chown -R $app: $final_path
chmod -R 750 /home/yunohost.$app/{uploads,data}
#chmod -R 750 /home/yunohost.$app/{uploads,data}
#=================================================
# RELOAD NGINX