S6-RC-SET-NEW(8)

πŸ“¦ version 0.7.0.0, in nixpkgs unstable

πŸ’… S6-RC-SET-NEW β€” create new sets in a repository

okay bestie, so this one is s6-rc-set-new, and it lives in section 8 (System Manager's Manual) of the s6-rc world. it's the little tool that literally makes new sets in a repository, and honestly? slay. let's get into it πŸŽ€


✨ SYNOPSIS ✨

s6-rc-set-new [-v verbosity] [-r repo] setname...

🌸 DESCRIPTION 🌸

so here's the vibe: for every argument in setname..., s6-rc-set-new creates a set with that name, inside the repository repo. no cap, one per argument. 🫢

under that set name, it attributes a default rx to every service listed in the stores, and the way it sorts them is giving very much "flag-based justice":

  • services with the essential flag get added to the always rx πŸ”₯
  • services with the recommended flag get added to the active rx ✨
  • everybody else? they go to the usable rx πŸ’œ

and then it exits 0, because it ate and left no crumbs.

πŸ¦‹ Notes

  • s6-rc-set-new can be called at the user's convenience, whenever you feel like it, no pressure. but in a typical installation, two sets are enough: a stable committed set and a working set. that's it. that's the whole strategy. πŸ‘‘

πŸŽ€ OPTIONS πŸŽ€

  • -v verbosity, --verbosity=verbosity β€” be more or less verbose, your call. the default is 1, which means error messages and warnings will be written to stderr. 0 means that only error messages will be written (quiet queen behavior), and 2 or more adds informational messages. πŸ’¬
  • -r repo, --repository=repo β€” use the repository in repo, which must exist (like, it has to actually be there, don't come for it). default is /var/lib/s6-rc/repository. πŸ“

⭐ EXIT STATUS ⭐

  • 0 β€” Success. we love a happy ending πŸ’–
  • 100 β€” Incorrect usage. bestie, the syntax was not it 😭
  • 111 β€” System call failed. πŸ’€

🌈 SEE ALSO 🌈

this man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-rc/s6-rc-set-new.html


πŸ‘‘ AUTHORS πŸ‘‘

  • Laurent Bercot
  • Carlos Eduardo <carana2099@gmail.com> (man page port)

and that's the whole page, bestie β€” brought to you by Debian, dated January 25, 2026, from the S6-RC-SET-NEW(8) manual. go forth and make sets πŸ§šπŸ’…

πŸ“¦ where this page comes from