From 6dd777fafbd23296d6bd91f8076f4b0ea5bae24e Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 20 Dec 2025 13:25:40 +0000 Subject: Add s6-rc-repo-list --- doc/repodefs.html | 3 ++- doc/s6-rc-repo-list.html | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 doc/s6-rc-repo-list.html (limited to 'doc') diff --git a/doc/repodefs.html b/doc/repodefs.html index bbd6811..8a8a6a9 100644 --- a/doc/repodefs.html +++ b/doc/repodefs.html @@ -282,7 +282,8 @@ here. hardcoded in the stores) with s6-rc-set-new, make a copy of an existing set with s6-rc-set-copy, or delete sets with s6-rc-set-delete. -
  • They mask, unmask, enable or disable services in their favorite set with +
  • They can list the existing sets with s6-rc-repo-list.
  • +
  • They can mask, unmask, enable or disable services in their favorite set with s6-rc-set-change.
  • They can check the list of services and their subs with s6-rc-set-status.
  • diff --git a/doc/s6-rc-repo-list.html b/doc/s6-rc-repo-list.html new file mode 100644 index 0000000..92869a1 --- /dev/null +++ b/doc/s6-rc-repo-list.html @@ -0,0 +1,66 @@ + + + + + + s6-rc: the s6-rc-repo-list program + + + + + + +

    +s6-rc
    +Software
    +skarnet.org +

    + +

    The s6-rc-repo-list program

    + +

    + s6-rc-repo-list lists all the sets in a +repository. +

    + +

    Interface

    + +
    +     s6-rc-repo-list [ -v verbosity ] [ -r repo ] [ -x exclude ]
    +
    + + + +

    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. +
    + +
    -x exclude, --exclude=exclude
    +
    If the list contains a set named exclude, do not print it. +(This can save a grep -v invocation to automation using the result +of s6-rc-repo-list.)
    +
    + +

    Exit codes

    + +
    +
    0
    Success.
    +
    100
    Incorrect usage.
    +
    111
    System call failed. This usually signals an issue with the +underlying operating system.
    +
    + + + -- cgit v1.3.1