1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00

Update restore

This commit is contained in:
ericgaspar 2020-05-30 16:10:21 +02:00
parent eaa5c33162
commit 85c756b161
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -65,14 +65,6 @@ ynh_script_progression --message="Recreating the dedicated system user..."
# Create the dedicated user (if not existing)
ynh_system_user_create --username=$app
#=================================================
# RESTORE USER RIGHTS
#=================================================
# Restore permissions to app files
chown -R $app: $final_path
chown -R $app: $config_path
#=================================================
# SPECIFIC RESTORATION
#=================================================
@ -93,6 +85,14 @@ ynh_script_progression --message="Restoring the config path..."
ynh_restore_file --origin_path=$config_path
#=================================================
# RESTORE USER RIGHTS
#=================================================
# Restore permissions to app files
chown -R $app: $final_path
chown -R $app: $config_path
#=================================================
# RESTORE SYSTEMD
#=================================================