s6-rc
Software
skarnet.org
The s6-rc-set-new program
s6-rc-set-new creates new sets
in a repository.
Interface
s6-rc-set-new [ -v verbosity ] [ -r repo ] setname...
- For every argument in setname..., s6-rc-set-new creates a
set with that name, in the repository
repo. Under that set name, it attributes a default
rx to every service listed in the
stores:
- Services with the essential flag are added to the always rx
- Services with the recommended flag are added to the active rx
- Others are added to the usable rx.
- It exits 0.
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.
Exit codes
- 0
- Success.
- 100
- Incorrect usage.
- 111
- System call failed.
Notes
- s6-rc-set-new can be called at the user's convenience, but in a typical
installation, two sets are enough: a stable committed set and a working set.