user-init starts a user supervision tree for
the user defined in the USER
environment variable.
user-init
USER environment variable,
if it is empty it exits 100.
USERTREE environment variable,
if it is empty it exits 100.
BUNDLE environment variable,
defaulting to default if empty.
PATH environment variable,
defaulting to
/command:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/libexec:/usr/local/libexec
if empty.
${USER}/${USERTREE} subdirectory of the
runtime directory
olready existis, it exits 100.
HOME environment variable based on the result of
homeof.
${HOME}/.local/bin: to the PATH
environment variable.
UID, GID and GIDLIST
environment variables using
s6-envuidgid.
prepare-svscan
with the proper arguments.
s6-svscan
on the scandir represented by the
${USER}/${USERTREE}/service
subdirectory of the
user runtime directory.
More information about user supervision trees themselves can be found on the user supervision tree page.