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:
parent
c2c1ae0a44
commit
fefe827637
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue