The user-rc program
The user-rc program is a thin convenience wrapper around s6-rc doing nothing more then pointing it to the right livedir.
Read the page of s6-rc to understand what this utility does.
Interface
user-rc ... see s6-rc ...
-
user-rc reads the
USERenvironment variable, if it is empty it exits 100. -
It reads the
USERTREEenvironment variable, if it is empty it exits 100. - It runs s6-rc with the appropriate livedir option.
Exit codes
- 100 if a critical environment variable is missing.
- Since user-rc is a thin wrapper around s6-rc it behaves almost exactly like it.
- See also: execline exit code handling.
Options
- user-rc takes exactly the same options as s6-rc.
