66
www.obarun.org
66-all
This command handles all services for any tree defined for the current user of the proccess at once.
Interface
66-all [ -h ] [ -v verbosity ] [ -l live ] [ -T timeout ] [ -f ] [ -t tree ] up/down
Any enabled tree—see 66-tree -E—or a specific one passed with the -t option,
and an already running scandir will be processed.
It is a safe wrapper around 66-start and 66-stop.
Options
- -h : prints this help.
-
-v verbosity : increases/decreases
the verbosity of the command.
1(Default): Only print error messages.
2: Also print warning messages.
3: Also print tracing messages.
4: Also print debugging messages.
-
-l live : changes the supervision directory of service to live. By default this will be %%livedir%%. The default can
also be changed at compile time by passing the --livedir=live
option to ./configure. An existing absolute path is expected and
should be within a writable filesystem - likely a RAM filesystem—see 66-scandir.
-
-T timeout : specifies a general timeout (in milliseconds)
passed to 66-start or 66-stop.
By default the timeout is set to 0 (infinite).
-
-f : fork the process and lose the controlling terminal. This option should be used only for a shutdown process.
-
-t tree : only handles service(s) for tree.
-
up : sends an up signal to every service inside any tree processed by the command.
-
down : sends a down signal to every service inside any tree processed by the command.
Initialization phase
In case up was passed as option, 66-all will automatically launch 66-init to initiate all services of the trees
processed by the command. As described above this means either any enabled tree for the user currently launching the process or just the tree passed with the -t option.