Pesquisar

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

11.8. Application Management Commands

download PDF
Applications are managed with the client tools using the rhc app command and the available options. The following example shows the command syntax.
$ rhc app action App_Name [Options]
The following table describes the available application management command actions:
Table 11.3. Application Management Command Argument Options
Action Details
start Start an application.
stop Stop an application.
force-stop Stop all application processes.
restart Restart an application.
reload Reload an application.
show Show information about an application.
tidy Clean out the application's log files and tmp directories, and tidy up the Git repository on the server.
create Create an application and add it to a domain.
delete Remove an application.
configure Configure an application's properties.
deploy Deploy a Git reference or binary file of an application.
The following table describes the available options with application management commands:
Table 11.4. Application Management Command Options
Option Description
-n, --namespace [NAME] Name of a domain.
-a, --app [NAME] Name of an application.
-l, --rhlogin [LOGIN] OpenShift Enterprise user account.
-p, --password [PASSWORD] OpenShift Enterprise account password.

Example 11.9. Starting an Application

$ rhc app start myapp -n mydomain
RESULT:
myapp started
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.