This command restarts an App and all its associated Services.

Synopsis

Usage:
  aptible restart

Options:
      [--simulate-oom], [--no-simulate-oom]  # Add this flag to simulate an OOM restart and test your app's response (not recommended on production apps).
      [--force]                              # Add this flag to use --simulate-oom in a production environment, which is not allowed by default.
      [--app=APP]
      [--environment=ENVIRONMENT]
  -r, [--remote=REMOTE]

Examples

aptible restart --app "$APP_HANDLE"

Was this page helpful?