ps restart
apppack ps restart
restart the process for a given type
Synopsis
Restart the ECS service for a given process type.
By default, a graceful rolling restart is performed (ForceNewDeployment). Use --force to immediately stop all running containers for the process type; ECS will relaunch them automatically.
apppack ps restart <process_type>
Examples
apppack -a my-app ps restart web # graceful rolling restart
apppack -a my-app ps restart web --force # kill running containers (forced restart)
Options
--force forcefully restart by killing running containers instead of a graceful rolling restart
-h, --help help for restart
Options inherited from parent commands
-a, --app-name string app name (required)
--aws-credentials use AWS credentials instead of AppPack.io federation
--debug enable debug logging
--json output as JSON
SEE ALSO
- apppack ps - show running processes