diff --git a/doc/index.md b/doc/index.md index 7161d2dcdde6874c51ecb697325f36b2cc3435ca..840ca525a5fa748cb697ca2ff53307022ee0ada2 100644 --- a/doc/index.md +++ b/doc/index.md @@ -46,6 +46,8 @@ Please refer to the [INSTALL.md](https://git.obarun.org/Obarun/66) file for deta See [changes](upgrade.html) between version. +**(!)** The significant changes in versions 0.7.0.0 and above render them incompatible with versions prior to 0.7.0.0. You can refer to the [Rosetta Stone](rosetta.html) to understand the interface and behavioral differences between versions below 0.7.0.0 and version 0.7.0.0 + --- ## Commands diff --git a/doc/rosetta.md b/doc/rosetta.md index bc85feb0157aba9b9bf6030158185169431eb40b..7ef33471bf253795e070c14de743390a1212e97d 100644 --- a/doc/rosetta.md +++ b/doc/rosetta.md @@ -127,13 +127,13 @@ New subcommands was integrated to `66 scandir` to avoid using options from `s6-s ## 66-init --- -As `s6-rc` was dropped, the specification of the type of the service is not needed anymore. The new interface only accept the name of the tree to initiate as argument -- see [66 init](66-init.html) documentation for futhers information. +As `s6-rc` was dropped, the specification of the type of the service is not needed anymore. This program was integrated to `66 tree` command -- see [66 tree init](tree.html#init) documentation for futhers information. | old argument | new argument | | --- | --- | -| `66-init` classic | `66` init *treename* | -| `66-init` database | `66` init *treename* | -| `66-init` both | `66` init *treename* | +| `66-init` classic | `66` tree init *treename* | +| `66-init` database | `66` tree init *treename* | +| `66-init` both | `66` tree init *treename* | ## 66-svctl --- diff --git a/doc/tree.md b/doc/tree.md index cc1bbc8de025bbf2a538105b0f161ec71afbf42b..bce3e6121aa93761fc616160da3afea585b401f0 100644 --- a/doc/tree.md +++ b/doc/tree.md @@ -259,6 +259,7 @@ This command handles [interdependencies](66.html#handling-dependencies). #### Usage examples Disables `treefoo` tree + ``` 66 tree disable treefoo ``` @@ -282,6 +283,7 @@ After marking a *tree* as current, the `66` command using the `-t` reacts to tha #### Usage examples Marks `treefoo` as current + ``` 66 tree current treefoo ``` @@ -320,21 +322,25 @@ valid fields for `-o` options are: #### Usage and output examples Displays all information of all trees + ``` 66 tree status ``` Only display the field `name` and `enabled` of all trees + ``` 66 tree status -o name,enabled ``` Only display the field `enabled` of tree `treefoo` without displaying the name of the field + ``` 66 tree status -n -o enabled treefoo ``` In a script you can do + ``` #!/bin/sh @@ -349,6 +355,7 @@ fi ``` Displays information of associated services of tree `global` using graph mode + ``` 66 tree status -g global @@ -376,6 +383,7 @@ Contents : \ It also displays information of each associated services of tree `global` within () parentheses, which are self-explainatory. Displays information about the associated services of the global tree in reverse graph mode, representing the process for stop + ``` 66 tree status -g -r global @@ -419,7 +427,8 @@ Resolve file are used internally by `66` to know *tree* information. This subcom #### Usage examples -Displays contents of the `treefoo` resolve file. +Displays contents of the `treefoo` resolve file + ``` 66 tree resolve treefoo ``` @@ -444,6 +453,7 @@ This subcommand is primarily used internally by `66 boot` command to initiate ea #### Usage examples Initiates all *enabled* services of `treefoo` to a running scandir + ``` 66 tree init treefoo ``` @@ -469,11 +479,13 @@ This command handles [interdependencies](66.html#handling-dependencies). #### Usage examples Starts all services marked enabled of all enabled trees of the system + ``` 66 tree start ``` Starts all services marked enabled of tree `treefoo` + ``` 66 tree start treefoo ``` @@ -500,11 +512,13 @@ This command handles [interdependencies](66.html#handling-dependencies). #### Usage examples Stops all services from all enabled trees available on the system + ``` 66 tree stop ``` Stops all services of tree `treefoo` + ``` 66 tree stop treefoo ```