s6-rc
Software
skarnet.org

The s6-rc-set-commit program

s6-rc-set-commit compiles a set of services, ensuring it is ready for installation.

Interface

     s6-rc-set-commit [ -v verbosity ] [ -r repo ] [ -D defaultbundle ] [ -h fdhuser ] [ -K ] [ -f ] set

Options

-v verbosity, --verbosity=verbosity
Be more or less verbose. The default is 1, which means that error messages and warnings will be written to stderr. 0 means that only error messages will be written, and 2 or more adds informational messages.
-r repo, --repository=repo
Use the repository in repo, which must exist. Default is /var/lib/s6-rc/repository.
-D defaultbundle, --default-bundle=defaultbundle
This option specifies the name of the bundle that will contain all the active and essential services. It should be the name that is used to bring up the machine at boot time when invoking the s6-rc change command. The default is default.
-h fdhuser, --fdholder-user=fdhuser
Specifies fdhuser as the user the fd-holder daemon will run at if the service database is installed and booted on. The default is root, which is fine, but paranoid users may want to specify a non-root account.
-K, --keep-old
If this option is given: if there is a previous compiled database for set set, it will be kept around. On sucess, s6-rc-set-commit will print a line to stdout that is the path to the old compiled database. You can copy it with cp -PR, move it with mv or delete it with rm -r. By default, old compiled databases are not kept — they're deleted when a new commit operation succeeds.
-f, --force
Force a new compilation even if a compiled database already exists for the set and it has not changed since the last commit. By default, when a compiled version of set exists and is more recent than the last change to the source version, s6-rc-set-commit notices it and does nothing.

Exit codes

0
Success.
1
The set failed to compile.
3
set was not found in the repository.
100
Incorrect usage.
102
Inconsistent repository.
111
System call failed.

Notes