1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

replace 'ynh_backup' by 'ynh_restore_file' because it's the restore script

This commit is contained in:
OniriCorpe 2024-03-21 01:52:23 +01:00
parent c2c1ae0a44
commit fefe827637

View file

@ -41,13 +41,13 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#=================================================
ynh_script_progression --message="Restoring the log files..." --weight=1
ynh_backup --origin_path="/var/log/nginx/$domain-access.log"
ynh_restore_file --origin_path="/var/log/nginx/$domain-access.log"
log_path="/var/log/$app"
mkdir -p "$log_path"
chown "$app":www-data "$log_path"
ynh_backup --origin_path="$log_path/freshrss.log"
ynh_restore_file --origin_path="$log_path/freshrss.log"
#=================================================
# RESTORE THE NGINX CONFIGURATION