S6-INSTANCE-CONTROL(8)

NAME
s6-instance-control - send commands to a running instance of an instanced service

SYNOPSIS
s6-instance-control [-wu | -wU | -wd | -wD | -wr | -wR]] [-T timeout] [-abqhkti12pcyroduDUxO] servicedir name

DESCRIPTION
s6-instance-control expects a running, supervised s6-instanced-service(7) in servicedir, as well as an existing instance of this service named name.

It sends the given series of commands to the supervisor monitoring the name instance.

It exits 0.

OPTIONS
The options, and the commands they represent, are exactly the same as the ones understood by s6-svc(8).

In fact, s6-instance-control is nothing more than a call to s6-svc(8) on the service directory representing the name instance. It is syntactic sugar so the user does not have to depend on the internal representation of instances and the location of instances' service directories.

EXIT STATUS

0   Success.

99  With one of the -w options, timed out while waiting for the command to complete.

100 Wrong usage.

111 System call failed.

SEE ALSO
s6-instanced-service(7), s6-instance-create(8), s6-instance-delete(8), s6-instance-list(8), s6-instance-maker(8), s6-instance-status(8)

AUTHORS
Laurent Bercot Alexis <flexibeast@gmail.com> (man page port)