restart - Cloud Foundry CLI Reference Guide


NOM

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

SYNTAXE

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.

ALIAS

rs

OPTIONS

--strategy

Deployment strategy, either rolling or null.

--no-wait

Exit when the first instance of the web process is healthy

ENVIRONNEMENT

CF_STAGING_TIMEOUT=15 Max wait time for staging, in minutes
CF_STARTUP_TIMEOUT=5 Temps d'attente maximal pour le démarrage de l'instance d'application, en minutes

VOIR AUSSI

restage, restart-app-instance