restage - Cloud Foundry CLI Reference Guide


NAME

restage - Stage the app's latest package into a droplet and restart the app with this new droplet and updated configuration (environment variables, service bindings, buildpack, stack, etc.).

USAGE

cf restage APP_NAME This command will cause downtime unless you use '--strategy rolling'.

EXAMPLES

cf restage APP_NAME cf restage APP_NAME --strategy rolling cf restage APP_NAME --strategy rolling --no-wait

ALIAS

rg

OPTIONS

--strategy

Deployment strategy, either rolling or null.

--no-wait

Exit when the first instance of the web process is healthy

ENVIRONMENT

CF_STAGING_TIMEOUT=15 Max wait time for staging, in minutes
CF_STARTUP_TIMEOUT=5 Max wait time for app instance startup, in minutes

SEE ALSO

restart