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:
parent
981f345b1e
commit
440a586a2a
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue