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

Update restore

This commit is contained in:
Stylix58 2021-03-28 19:47:28 +02:00 committed by GitHub
parent 981f345b1e
commit 440a586a2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,8 +58,12 @@ ynh_restore_file --origin_path="$final_path"
# RESTORE USER RIGHTS
#=================================================
# Configure internal permissions for ICEcoder
if [[ $path_url =~ my_webapp ]]
then
chown -R my_webapp $final_path
else
chown -R www-data.www-data $final_path
fi
#=================================================
# RESTORE THE LOGROTATE CONFIGURATION