Pesquisar

Este conteúdo não está disponível no idioma selecionado.

14.6. Tidying an Application

download PDF
Tidying an application helps manage application disk space, and performs the following functions:
  • Run the git gc command on the application's Git repository on the server.
  • Clear the application's /tmp and log file directories that are specified by the application's OPENSHIFT_LOG_DIR and OPENSHIFT_TMP_DIR environment variables.
  • Clear unused application libraries and remove any library files previously installed by a git push command.

Important

Log files are not automatically backed up or rotated. Tidying an application runs the rm -rf command to clear the contents of these directories. Before performing this step, save the log files by creating a snapshot of the system with the rhc snapshot save command.
Tidy an application with the following command:
$ rhc app tidy App_Name
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja oBlog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.