From 625252d2e88c9a6cb84ecb8731c14d85dd699aa9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 13 Jan 2026 04:16:54 +0000 Subject: Better live_status and live_stop_everything, more doc --- doc/s6_repository.html | 187 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 187 insertions(+) create mode 100644 doc/s6_repository.html (limited to 'doc/s6_repository.html') diff --git a/doc/s6_repository.html b/doc/s6_repository.html new file mode 100644 index 0000000..377344f --- /dev/null +++ b/doc/s6_repository.html @@ -0,0 +1,187 @@ + + + + + + s6-frontend: the s6 repository command + + + + + + +

+The s6 command
+s6-frontend
+Software
+skarnet.org +

+ +

The s6 repository command

+ +

+ s6 repository regroups actions that target the repository of source +definition directories for services managed by the +repo commands of the +s6-rc service manager. The repository is hosted in the +configured repodir. +

+ +

+ This set of commands is not intended for day-to-day use, since they involve +serious actions on the repository which is supposed to be stable. Rather, +they are likely to be a part of automated procedures written by the distribution +and triggered by specific events like installation or package updates. +

+ +
+

Interface

+
+ +
+     s6 repository subcommand [ subcommand_options... ] [ args... ]
+
+ +
+

Subcommands

+
+ +
+

help

+
+ +

+ s6 repository help prints a short help message summarizing the options +and usage of the s6 repository command. It is not as detailed as this page. +

+ +
+

init

+
+ +

Interface

+ +
+     s6 repository init [ -f ] [ -U ] [ -h fdhuser ]
+
+ + + +

Options

+ +
+
-f, --force
+
If the repository already exists, overwrite it with a new one. +This is a dangerous option and should only be used as a last resort +if the repository seems hopelessly broken.
+ +
-U, --update-stores
+
Do not recreate the repository from scratch, but update the list +of stores. This commands needs to be run when the storelist variable +has changed.
+ +
-h fdhuser, --fdholder-user=fdhuser
+
Specify the fdholder user for the reference database. This has +no impact whatsoever and this option can safely be ignored.
+
+ +
+

list

+
+ +

Interface

+ +
+     s6 repository list
+
+ + + +
+

check

+
+ +

Interface

+ +
+     s6 repository check [ -f ] [ -d | -u ] [ -E | -e ]
+
+ + + +

Options

+ +
+
-f, --fix
+
Also attempt to fix the inconsistencies.
+ +
-E, --no-force-essential
+
If fixing a set involves changing a service flagged as essential +to a sub that is not always, or a service not +flagged as essential to the always sub, print an error message +and exit. This is the default.
+ +
-e, --force-essential
+
If fixing a set involves changing a service flagged as essential +to a sub that is not always, or a service not +flagged as essential to the always sub, perform the change +and continue. This is normally not necessary with a list of stores +providing consistent services.
+ +
-d, --down
+
Fix sets by disabling or masking services. If service A +depends on service B and B is masked or disabled, +change A to be masked or disabled as well. This is the +default.
+ +
-u, --up
+
Fix sets by enabling or unmasking services. If service A +depends on service B and A is unmasked or enabled, +change B to be unmasked or enabled as well.
+
+ +
+

sync

+
+ +

Interface

+ +
+     s6 repository sync [ -h fdhuser ]
+
+ + + +

Options

+ +
+
-h fdhuser, --fdholder-user=fdhuser
+
Specify the fdholder user for the reference database. This has +no impact whatsoever and this option can safely be ignored.
+
+ + + -- cgit v1.3.1