From 9473830ad612dcb674f6048a9a17e372ff9d9ec3 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Prints the type of servicename: oneshot, longrun
-or bundle. Exits 1 if
-servicename is not a valid identifier in the database.
+or bundle.
Prints the timeout value, in milliseconds, after which bringing
atomicname up or down is considered a failure if the
-called script still has not succeeded. Exits 1 if atomicname
-isn't a valid atomic service. By default, or if the -u
+called script still has not succeeded.
+By default, or if the -u
option has been given to s6-rc-db, the timeout for up is
printed; the timeout for down is printed instead if the
-d option has been given.
@@ -154,14 +163,12 @@ printed; the timeout for down is printed instead if the
Lists the atomic services represented by bundle bundlename.
-Exits 1 if bundlename is not a valid bundle.
- Prints the list of direct dependencies for servicename.
-Exits 1 if servicename isn't a valid identifier. If
+ Prints the list of direct dependencies for servicename. If
servicename is a bundle, its set of direct dependencies
is the union of the direct dependencies of all the atomic services
contained in the bundle.
@@ -174,12 +181,13 @@ depend on servicename, or on one of its components if it
is a bundle.
- Prints the service directory for longrun service longrunname;
-this value is relative to the scandir. Exits 1 if
-longrunname is not a valid longrun.
+ Prints the longrun service pipeline longrunname is a
+part of, one service per line, producers before consumers.
+If longrunname isn't
+part of a pipeline, only longrunname is printed.
Exit codes
+
+
+
+
Subcommands
s6-rc-db help
@@ -134,8 +144,7 @@ dependency tables, or a dependency cycle.
s6-rc-db timeout atomicname
@@ -143,8 +152,8 @@ or bundle. Exits 1 if
s6-rc-db dependencies servicename
s6-rc-db servicedir longrunname
+ s6-rc-db pipeline longrunname
s6-rc-db script oneshotname
@@ -190,8 +198,7 @@ an argv, i.e. a Unix command line. Each component of this
command line is
terminated by a null character, so to print it in
a human-readable format, pipe the output into something like
-xargs -0 echo. The command exits 1 if oneshotname
-is not a valid oneshot.
+xargs -0 echo.
@@ -203,8 +210,7 @@ is not a valid oneshot.
Prints a hexadecimal number that is the list of all binary flags -for atomic service atomicname. Exits 1 if atomicname -is not a valid atomic service. +for atomic service atomicname.
@@ -219,8 +225,7 @@ future version of s6-rc. servicename... arguments, i.e. the union of all atomic services contained in servicename.... Each argument in servicename... can be an atomic service or -a bundle. If an argument isn't a valid identifier, the command -exits 1. +a bundle.
-- cgit v1.3.1