66

Software

obarun.org

66-stop

This command stops one ore more services defined in tree.

Interface

    66-stop [ -h ] [ -z ] [ -v verbosity ] [ -l live ] [ -t tree ] [ -T timeout ] [ -u ] [ -X ] [ -K ] service(s)

The service to be stopped is expected to be enabled inside the given tree and started inside an already running scandir. If the state of the service is already down 66-stop does nothing. Generally speaking this command is the strict opposite of 66-start.

Multiple services can be stopped by seperating their names with a space.

Exit codes

Options

Dependencies handling

In case of bundle, atomic or module any existing dependency chain will be resolved automatically. It is unnecessary to manually define chained sets of dependencies. If FooA has a declared dependency on another service with the name FooB then FooB will be automatically considered and stopped first when stopping FooA. This works recursively until all dependencies are stopped.

Classic service transitions

If any one of these processes fails then as a result 66-stop fails too and exits with code 111.

Bundle, atomic and module transitions

The process for these service types is very similar to that of classic services except for the automated command that adapts accordingly.

If any one of these processes fails then as a result 66-stop fails too and exits with code 111.