S6-RC-REPO-INIT(8)
π s6-rc-repo-init β the "let's set up your repo bestie" era π
okay so this is the s6-rc-repo-init(8) manual page, straight from the System Manager's Manual, and she is literally the moment your whole s6-rc life begins. no cap. πΈ
β¨ SYNOPSIS β¨
s6-rc-repo-init [-v verbosity] [-r repo] [-h fdhuser] [-f] [-U] [-B]
stores...
like, you give her some flags, you give her some stores..., and she goes to work. that's it. slay.
π¦ DESCRIPTION π¦
s6-rc-repo-init initializes an s6-rc-repo(7) on a system β it links that repo to a list of stores and makes sure the set of all the services defined across all the stores is consistent. vibe check passed or it's not.
s6-rc-repo-init creates an s6-rc repository at location repo.
It makes stores... β which must be a list of several locations in the filesystem β the current list of stores for this repository.
It synchronizes with the list of stores, exactly as if s6-rc-repo-sync(8) had been called. which means: it imports all the services in the stores and builds the reference database. obsessed. π
It exits 0.
π Notes
s6-rc-repo-initis the first command to invoke when you're creating a repository, or when a change happens within the stores. she's the opening act, the main character, the whole entrance. π- There's generally only one repository per system, but non-root users who want to run their own tree of s6-rc services can totally do that by specifying an alternative repo. your own little kingdom fr fr. π°
π OPTIONS π
-vverbosity,--verbosity=verbosity β be more or less verbose. default is1, which means error messages and warnings get written to stderr.0means only error messages get written, and2or more adds informational messages. the option also gets passed to commands thats6-rc-repo-initmay call, likes6-rc-compile(8), so their verbosity gets adjusted the same way. everyone matching energy. β¨-rrepo,--repository=repo β create the repository in repo. default is/var/lib/s6-rc/repository. unless you pass the-Uoption, repo must not previously exist in the filesystem. brand new, no leftovers, fresh start. π-hfdhuser,--fdholder-user=fdhuser β you can safely ignore this option and forget about it, bestie. what it does is ensure that if a supervision tree is started as root on a compiled database produced by this command (this will never happen to the reference database, so it's only ever useful together with the-Uoption when there are sets to update), the fd-holder daemon in that supervision tree runs as fdhuser rather than root. told you: you can safely forget about that option. π i literally told you.-f,--forceβ make a new repository at repo even if one already exists. > β οΈ this is dangerous, and use of this option is not recommended. i'm not joking, she said dangerous, so like, be careful. π-U,--update-storesβ instead of creating a new repository, change the list of stores in an existing one. useful, for instance, when a distribution's policies change and local stores are added, moved, or removed. but it is not an operation that should be done frequently, however. occasional queen behavior only. π§-B,--bareβ do not synchronize the repository with the stores. useful if you're going to calls6-rc-repo-sync(8)afterwards anyway. why do it twice when you got a plan. π«Ά
β EXIT STATUS β
0β Success. periodt. π1β Failure. the services in the listed stores do not make a consistent reference database. with a nonzero verbosity, the error messages froms6-rc-compile(8)will be displayed and detail exactly what went wrong. receipts included. π₯100β Incorrect usage. you did the syntax wrong, it happens. π111β System call failed. this usually signals an issue with the underlying operating system. not you, it's the OS. π
πΈ SEE ALSO πΈ
s6-rc-repo(7), s6-rc-compile(8), s6-rc-repo-sync(8)
This man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-rc/s6-rc-repo-init.html
π AUTHORS π
Laurent Bercot Carlos Eduardo <carana2099@gmail.com> (man page port)
okay so that's the whole page!! no details left behind, we ate and left no crumbs π
shoutout to the Debian crew for this one β it's dated October 21, 2025, ported from the s6-rc docs (source version above, and the original lives under Debian's System Manager's Manual umbrella, section 8). go set up a repository, bestie, you got this πβ¨
π¦ where this page comes from
- nixpkgs unstable: s6-rc 0.7.0.0
- nixpkgs unstable: s6-rc-man-pages 0.6.0.0.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms