Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

restart

Restart a single managed resource through the running control plane. Requires lightshuttle up to be active in the same working directory so the discovery file .lightshuttle/control.url is present

Usage

lightshuttle restart [OPTIONS] <RESOURCE>

Arguments

ArgumentDescription
<RESOURCE>Resource name as declared in the manifest

Options

OptionDefaultDescription
--detachReturn immediately after the control plane accepted the restart request, without waiting for the resource to become healthy again

Examples

  # Restart the `api` resource and wait for it to become healthy again
  lightshuttle restart api

  # Request the restart and return immediately
  lightshuttle restart api --detach