system/s6-linux-init: Add an example for SCAN_DIR usage
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7915740c12
commit
ffa13faaaa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue