66
www.obarun.org

66-svctl

This command is used to control an already supervised service at live defined in a tree.

Interface

	66-svctl [ -h ] [ -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 seperating their names with a space. 66-svctl gathers each of these services in a list called selection. It tries to be as quick as possible and sends a command to the selection asynchronously.

Exit codes

Options

s6-svc corresponding signal

Note

You can also send a signal in a similar fashion to a 'classic' service with the s6-svc tool which has the philosophy "launch and forget". In contrast to s6-svctl this does not care for the exit status of the service when a signal is sent.

As an extra convenience the -n options allow you to deal directly on the command line with max-death-tally even if these were not specified explicitely in the services frontend file and no corresponding files exist.