mirror of
https://github.com/YunoHost-Apps/isso_ynh.git
synced 2024-09-03 19:35:55 +02:00
fix backup/restore
This commit is contained in:
parent
27a0e5e5b6
commit
06f899a082
1 changed files with 11 additions and 0 deletions
|
@ -62,6 +62,17 @@ chmod 750 "$final_path"
|
|||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
#=================================================
|
||||
# Create blank log file
|
||||
#=================================================
|
||||
|
||||
mkdir -p "/var/log/$app"
|
||||
|
||||
chmod 750 "/var/log/$app"
|
||||
chmod -R o-rwx "$final_path"
|
||||
|
||||
ynh_exec_as $app touch "/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE DATA DIRECTORY
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue