diff options
author | Muhammad Mahendra Subrata <mumahendras3@gmail.com> | 2023-01-30 17:59:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-30 23:55:46 +0700 |
commit | ffa13faaaa3442b16397b8c2c2366421ae8aedc7 (patch) | |
tree | 20ecc113cfc972a384c0a4cf1cbe296c1911ef57 | |
parent | 7915740c1206747dac33e00efe6fa0305b9d65f5 (diff) |
system/s6-linux-init: Add an example for SCAN_DIR usage
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/s6-linux-init/README | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/system/s6-linux-init/README b/system/s6-linux-init/README index 76e6c9f009e3..cbb2b5fc260e 100644 --- a/system/s6-linux-init/README +++ b/system/s6-linux-init/README @@ -41,7 +41,15 @@ TMPFS_DIR=/path/to/directory to the script like below: At some point in boot time, an instance of s6-svscan will become PID 1, using $TMPFS_DIR/service as its scan directory by default. This can be altered by passing SCAN_DIR=path/to/directory to the script, changing -the scan directory to $TMPFS_DIR/path/to/directory. +the scan directory to $TMPFS_DIR/path/to/directory. For example, if you +want to change the scan directory to /run/s6/rc, you can pass +SCAN_DIR=s6/rc to the script like below: + + SCAN_DIR=s6/rc ./s6-linux-init.SlackBuild + +Note that we don't use absolute path for SCAN_DIR here, since it is +relative to $TMPFS_DIR, which defaults to /run (as mentioned +previously). Upstream recommends building skarnet.org software with static libraries, as most of skarnet.org software are small enough that shared libraries |