The s6 command
s6-frontend
Software
skarnet.org

The s6 live command

s6 live groups actions that target the live machine state managed by the s6-rc service manager, hosted in the configured livedir.

Where s6 process directly targets instances of services supervised by s6-supervision, without knowledge of the service manager it can only address longruns. On the other hand, s6 live targets services defined in the current live database, oneshots as well as longruns, and will always respect the dependency graph.

Interface

     s6 live subcommand [ subcommand_options... ] [ args... ]

Subcommands

help

s6 live help prints a short help message summarizing the options and usage of the s6 live command. It is not as detailed as this page.

status

Interface

     s6 live status [ -e | -E ] [ servicenames... ]

Options

-e, --without-essentials
Do not list essential services, which can clutter the display with irrelevant information and are all supposed to always be up anyway. This is the default.
-E, --with-essentials
List all services, including essential ones.

start

Interface

     s6 live start [ -n ] [ -t timeout ] servicenames...

Options

-n, --dry-run
Only print what would be done; do not actually start services.
-t timeout, --timeout=timeout
If the whole change still hasn't completed after timeout milliseconds, stop waiting and don't attempt to perform the remaining transitions. By default, timeout is 0, meaning infinite: the command can wait forever.

stop

Interface

     s6 live stop [ -n ] [ -t timeout ] servicenames...

Options

-n, --dry-run
Only print what would be done; do not actually stop services.
-t timeout, --timeout=timeout
If the whole change still hasn't completed after timeout milliseconds, stop waiting and don't attempt to perform the remaining transitions. By default, timeout is 0, meaning infinite: the command can wait forever.

restart

Interface

     s6 live restart [ -W | -w ] [ -t timeout ] [ servicenames... ]

Options

-n, --dry-run
Only print what would be done; do not actually stop or start services.
-t timeout, --timeout=timeout
If the whole restart still hasn't completed after timeout milliseconds, stop waiting and don't attempt to perform the remaining transitions. By default, timeout is 0, meaning infinite: the command can wait forever.

reload

Interface

     s6 live reload [ -n ] [ -t timeout ] servicenames...