이 콘텐츠는 선택한 언어로 제공되지 않습니다.
14.6. Tidying an Application
Tidying an application helps manage application disk space, and performs the following functions:
- Run the
git gccommand on the application's Git repository on the server. - Clear the application's
/tmpand log file directories that are specified by the application'sOPENSHIFT_LOG_DIRandOPENSHIFT_TMP_DIRenvironment variables. - Clear unused application libraries and remove any library files previously installed by a
git pushcommand.
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:
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
rhc app tidy App_Name
$ rhc app tidy App_Name