This command initiate services from a given tree to a live directory.
66-init [ -h help ] [ -v verbosity ] [ -l live ] [ -c classic ] [ -d database ] [ -B both ] tree
This tool expects to find an already created scandir directory at live location. The scandir is not necessary running depending on the provided options. Administrators should invoke 66-init only once time.
The tool will make a verbatim copy of all classic service files and directories of the tree inside a scandir directory at live location. By default, /run/66/scandir/UID is created if it not exist yet where UID is the uid of the current owner of the process. The scandir is not necessary running. For instance, this is usefull at boot time to initiate an earlier service before starting the scandir. When the scandir starts—see 66-scandir -u option, the already presents services starts automatically.
If the scandir is running, you should invoke a 66-scandir -s reload command to prevents the scandir about the changes.
The tool will invoke an s6-rc-init -l live -c compiled - p prefix command where by default live is /run/66/tree/UID/tree, compiled is /var/lib/66/system/tree/servicedirs/db/tree or $HOME/.66/system/tree/servicedirs/db/tree depending of the owner of the process and prefix the name of tree. The live is created if it doesn't exist yet. The scandir must be running. In contrary of s6-rc-init behaviour, this tool like any other 66 tool can be invoked with user permissions.