diff --git a/scripts/restore b/scripts/restore index b0816d7..34bd774 100755 --- a/scripts/restore +++ b/scripts/restore @@ -105,8 +105,9 @@ systemctl enable $app.service --quiet #================================================= # RESTORE THE LOGROTATE CONFIGURATION #================================================= -ynh_script_progression --message="Restoring the logrotate configuration..." --time --weight=1 +ynh_script_progression --message="Restoring the logrotate configuration..." --weight=1 +mkdir -p /var/log/$app ynh_restore_file --origin_path="/etc/logrotate.d/$app" #=================================================