S6-RC-REPO-SYNC(8)
π S6-RC-REPO-SYNC(8) β the system manager's manual, but make it cute
okay so bestie, you're looking at s6-rc-repo-sync, section 8 of the manual, and honestly? it's giving glow-up for your s6-rc repository β¨ let's get into it.
πΈ NAME πΈ
s6-rc-repo-sync β synchronize an s6-rc repository π«Ά
β SYNOPSIS β
s6-rc-repo-sync [-v verbosity] [-r repo] [-h fdhuser]
that's it, that's the whole vibe. three little options, no cap π
π¦ DESCRIPTION π¦
so s6-rc-repo-sync synchronizes an s6-rc-repo(7). and what does that mean, you ask? two things, bestie: it makes an up-to-date reference database, and it makes sure that all defined sets include all the services in the repository's stores β and only them. literally nothing extra, nothing missing. the way that consistency ate π
here's the flow, step by step:
- it looks at all the services defined in the repository's stores, and compiles them into a reference database.
- then it looks at all the sets and synchronizes them with the services in all the stores:
- existing services are preserved as they are β if it ain't broke, don't touch it π
- if a service doesn't appear in the stores, it is removed from all sets β bye bestie π
- if a new service is defined in the stores, it is added to all sets. and which set? depends on the flags, queen:
- services with the essential flag are added to the
alwaysrx π - services with the recommended flag are added to the
activerx β¨ - others are added to the
usablerx π
- services with the essential flag are added to the
it exits 0. slay. periodt.
π§ Notes π§
- you should call
s6-rc-repo-syncwhen the contents of the stores have changed β for instance when the package manager has added packages that define new services. that's your cue, babes π₯
π 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.2or more adds informational messages. and the option is also passed to commands thats6-rc-repo-syncmay call, such ass6-rc-compile(8), so their verbosity gets similarly adjusted. teamwork makes the dream work π«Ά-rrepo,--repository=repo β use the repository in repo, which must exist. default is/var/lib/s6-rc/repository. π-hfdhuser,--fdholder-user=fdhuser β okay so you can safely ignore this option and forget about it, fr fr. but iykyk, here's what it does: it ensures that if a supervision tree is started as root on a compiled database produced by this command, the fd-holder daemon in that supervision tree runs as fdhuser rather than root. and ngl, it is okay to run that daemon as root. so like. lowkey optional π
π EXIT STATUS π
0β Success. main character energy π1β Failure. either the services in the listed stores do not make a consistent reference database, or some set is inconsistent. with a nonzero verbosity, the error messages froms6-rc-compile(8)will be displayed and detail exactly what went wrong. it's giving receipts π100β Incorrect usage. wrong vibe, try again π111β System call failed. this usually signals an issue with the underlying operating system. not us, not our problem π
π SEE ALSO π
this man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-rc/s6-rc-repo-sync.html β go read the source, bestie, it's iconic β
π«Ά AUTHORS π«Ά
- Laurent Bercot
- Carlos Eduardo <carana2099@gmail.com> (man page port) π
and that's the whole page, bestie β this one came to you from the Debian crew, dated January 24, 2026, and yes she's still serving S6-RC-REPO-SYNC(8) realness. go sync something and have the best day π
β¨πΈ
π¦ 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