diff --git a/doc/boot.md b/doc/boot.md index 85a48ad9b8a428342ccc6d5cc3c58cd84433c070..89f69b02ab630471bf758902c9c82e6040b2f28c 100644 --- a/doc/boot.md +++ b/doc/boot.md @@ -7,18 +7,16 @@ author: Eric Vidal <eric@obarun.org> [obarun.org](https://web.obarun.org) -# 66-boot +# boot Meant to be run as pid 1 as a *stage1* init. Performs the necessary early system preparation and execs into [scandir start](scandir.html). ## Interface - ``` boot [ -h ] [ -z ] [ -m ] [ -s skel ] [ -l log_user ] [ -e environment ] [ -d dev ] [ -b banner ] ``` - This program performs some early preparations, spawns a process that will run the `rc.init` script and then execs into [scandir start](scandir.html). ## Exit codes @@ -82,7 +80,7 @@ When booting a system, command *boot* performs the following operations: - It execs into [66 -v VERBOSITY -l LIVE start](scandir.html) with `LIVE/scandir/0` (default `%%livedir%%/scandir/0`) as its scandir. - * [scandir start](scandir.html) transitions into [s6-svscan](https://skarnet.org/software/s6/s6-svscan.html) which spawns the early services that are defined in *TREE* where one of those services is `scandir-log`, which is the `catch-all` logger. Once this service is up *66-boot*'s child *stage2* unblocks. + * [scandir start](scandir.html) transitions into [s6-svscan](https://skarnet.org/software/s6/s6-svscan.html) which spawns the early services that are defined in *TREE* where one of those services is `scandir-log`, which is the `catch-all` logger. Once this service is up `boot's` command child *stage2* unblocks. * The child then execs into `rc.init` diff --git a/doc/reload.md b/doc/reload.md index 8f0951e6ec2b23ab3eda9dbf52247bd79139134e..6b0bc5f855fa473c629b032cb21b4988d80c25d5 100644 --- a/doc/reload.md +++ b/doc/reload.md @@ -14,7 +14,7 @@ This command reloads one or more services. ## Interface ``` -reload [ -h ] [ -P ] service(s) +reload [ -h ] [ -P ] service... ``` This command send a `SIGHUP` signal to *service*. Many daemon reacts of `SIGHUP` signal to re-read its configuration file that has been changed. This command expects to find an already running *service*. @@ -42,7 +42,7 @@ Reloads the `foo` service 66 reload foo ``` -Restarts the `foo-log` service +Reloads the `foo-log` service ``` 66 reload -P foo-log ```