66

obarun.org

66-svctl

Controls an already supervised service at live defined in a tree.

Interface

    66-svctl [ -h ] [ -z ] [ -v verbosity ] [ -l live ] [ -t tree ] [ -T timeout ] [ -n death ] [ -u | d | r | K | X ] service(s)

This tool expects to find an already supervised service at live defined in the given tree and an already running scandir.

(!) This tool only deals with classic services—see 66‑dbctl for other types of services.

Multiple services can be handled by separating their names with a space. 66‑svctl gathers each of these services in a list called selection. The command is sent to the selection asynchronously.

Exit codes

Options

s6-svc corresponding signal

The 66‑svctl signals correspond to s6‑svc in the following manner:

Notes

You can also send a signal in a similar fashion to a classic or longrun service with the s6‑svc tool which has the philosophy “launch and forget" which unlike 66‑svctl does not care for the exit status of the service when a signal is sent.

As an extra convenience the -n option allows to deal directly with max-death-tally from the command line even if it was not specified explicitely in the services frontend file and no corresponding file exists.