The user-run program
The user-run program allows to hand over the execution of commands to the user supervision tree.
Interface
user-run prog...
-
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. - Internally, user-run invokes s6-sudo to connect to an s6-sudod instance provided by the user goetia-runner.
-
prog...is then transferred to and executed by goetia-runner. - See s6-sudo and s6-sudod for configuration options and detailed information.
Exit codes
- 100 if a critical environment variable is missing.
- user-run behaves exactly as s6-sudo.
Options
- user-run takes the exact same options as s6-sudoc.
