From 0f445dc9f44d8f110bb2dbfedcd61f65b73e9f49 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 9 Jan 2023 10:38:14 +0100 Subject: [PATCH] doc: add missing /etc/finit.d and fix indendation (untabify) Signed-off-by: Joachim Wiberg --- doc/config.md | 76 +++++++++++++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 36 deletions(-) diff --git a/doc/config.md b/doc/config.md index 9eddfffa..a4abc3c0 100644 --- a/doc/config.md +++ b/doc/config.md @@ -54,15 +54,15 @@ dynamic services, in contrast to static -- the only difference being where they are installed and if the `initctl` tool can manage them. /etc/ - |- finit.d/ - | | -available/ - | | `- my-service.conf - : |- enabled/ - : | `- my-service.conf -> ../available/my-service.conf - : : - : |- static-service.conf - : `- another-static.conf # eg. bootstrap run/task commands - : + |- finit.d/ + | |- available/ + | | `- my-service.conf + : |- enabled/ + : | `- my-service.conf -> ../available/my-service.conf + : : + : |- static-service.conf + : `- another-static.conf # eg. bootstrap run/task commands + : `- finit.conf # global settings At bootstrap, and `initctl reload`, all .conf files are read, starting @@ -85,33 +85,37 @@ Finit is most comfortable with a traditional style Linux filesystem layout, as specified in the [FHS][]: /. - |- bin/ - |- dev/ # Mounted automatically if devtmpfs is available - | |- pts/ # Mounted automatically by Finit if it exists - | `- shm/ # Mounted automatically by Finit if it exists - |- etc/ - |- home/ - |- lib/ - |- libexec/ - |- mnt/ - |- proc/ # Mounted automatically by Finit if it exists - |- root/ - |- run/ # Mounted automatically by Finit if it exists - | `- lock/ # Created automatically if Finit mounts /run - |- sbin/ - |- sys/ # Mounted automatically by Finit if it exists - |- tmp/ # Mounted automatically by Finit if it exists - |- usr/ - `- var/ - |- cache/ - |- db/ - |- lib/ - | `- misc/ - |- lock/ - |- log/ - |- run -> ../run - |- spool/ - `- tmp/ + |- bin/ + |- dev/ # Mounted automatically if devtmpfs is available + | |- pts/ # Mounted automatically by Finit if it exists + | `- shm/ # Mounted automatically by Finit if it exists + |- etc/ + | |- finit.d/ + | | |- available/ + | | `- enabled/ + | `- finit.conf + |- home/ + |- lib/ + |- libexec/ + |- mnt/ + |- proc/ # Mounted automatically by Finit if it exists + |- root/ + |- run/ # Mounted automatically by Finit if it exists + | `- lock/ # Created automatically if Finit mounts /run + |- sbin/ + |- sys/ # Mounted automatically by Finit if it exists + |- tmp/ # Mounted automatically by Finit if it exists + |- usr/ + `- var/ + |- cache/ + |- db/ + |- lib/ + | `- misc/ + |- lock/ + |- log/ + |- run -> ../run + |- spool/ + `- tmp/ Finit starts (very early) by mounting `/dev`, `/proc/`, and `/sys`, unless they (i.e., `/dev`) are already mounted. When all plugins and