1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00

[fix] Missing cache

This commit is contained in:
ljf 2021-12-06 16:04:28 +01:00
parent 74da7d9ae5
commit 409acdcfbd
2 changed files with 6 additions and 0 deletions

View file

@ -52,6 +52,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
ynh_backup --src_path="/etc/onlyoffice"
ynh_backup --src_path="/var/lib/onlyoffice/cache/files"
#=================================================
# BACKUP THE POSTGRESQL DATABASE

View file

@ -110,6 +110,11 @@ ynh_script_progression --message="Restoring the configuration..."
ynh_restore_file --origin_path="/etc/onlyoffice"
#=================================================
# RESTORE THE CACHE
#=================================================
ynh_restore_file --origin_path="/var/lib/onlyoffice/cache/files"
#=================================================
# REGENERATE FONTS
#=================================================