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:
commit
9a1d881a8a
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue