restart - Cloud Foundry CLI Reference Guide


이름

restart - Stop all instances of the app, then start them again.

사용법

cf restart APP_NAME This command will cause downtime unless you use '--strategy rolling'. If the app's most recent package is unstaged, restarting the app will stage and run that package. Otherwise, the app's current droplet will be run.

별명

rs

옵션

--strategy

Deployment strategy, either rolling or null.

--no-wait

Exit when the first instance of the web process is healthy

환경

CF_STAGING_TIMEOUT=15 Max wait time for staging, in minutes
CF_STARTUP_TIMEOUT=5 앱 인스턴스 시작을 위한 최대 대기 시간(분)

다음도 참조

restage, restart-app-instance