From e7dc6510922fc3ed14df061a1bac552da59b62e9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 9 Jun 2026 03:54:33 +0000 Subject: Change default storelist and configuration file Default storelist becomes /usr/share/s6/sources:/etc/s6/sources Default configuration file becomes /etc/s6.conf Conffile environment variable becomes S6_CONF --- doc/s6.conf.html | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 doc/s6.conf.html (limited to 'doc/s6.conf.html') diff --git a/doc/s6.conf.html b/doc/s6.conf.html new file mode 100644 index 0000000..39b1e76 --- /dev/null +++ b/doc/s6.conf.html @@ -0,0 +1,105 @@ + + + + + + + s6-frontend: the s6.conf configuration file + + + + + + +

+s6-frontend
+Software
+skarnet.org +

+ +

The /etc/s6.conf configuration file

+ +

Goal and usage

+ +

+ /etc/s6.conf is a configuration file provided by the +distribution, or written by the system administrator, defining various +settings for the s6 commands, as well as the default +policies of an s6-based system (i.e. where various directories and files +are located). +

+ +

+ For instance, this is what allows the +s6 process restart foobar command to send +s6-svc -r to the +foobar service without the user needing to type, or even remember, +what the full path to the foobar service directory is. +

+ +

Description

+ +

+The /etc/s6.conf file follows the +envfile syntax: +simple key = value lines, comments permitted. +

+ +

+ If a value is left empty, the compiled-in default is used. +

+ +

+ The variables that can be set are the following: +

+ +
+
scandir
+
The directory where s6-svscan +is running. +The default is /run/service (possibly overridden by the --scandir build-time configure option to +s6-linux-init or to +s6-frontend).
+ +
livedir
+
The directory hosting the live service database managed by +s6-rc. +The default is /run/s6-rc (possibly overridden by the --livedir build-time configure option to +s6-rc or to +s6-frontend).
+ +
repodir
+
The directory hosting the repository of service sets managed by the +s6-rc repo commands. +The default is /var/lib/s6-rc/repository (possibly overridden by the --repodir build-time configure option to +s6-rc or to +s6-frontend).
+ +
bootdb
+
The path to the boot-time compiled service database. +The default is /etc/s6-rc/compiled/current (possibly overridden by the --bootdb build-time configure option to +s6-rc or to +s6-frontend).
+ +
stmpdir
+
A directory suitable for root-only runtime data and temporary files for s6-frontend. +The default is /run/s6-frontend (possibly overridden by the --stmpdir build-time configure option to +s6-frontend).
+ +
storelist
+
A colon-separated (:) list of directories containing the +stores of s6-rc service +definition directories. +The default is /usr/share/s6/sources:/etc/s6/sources +(possibly overridden by the --storelist build-time configure option to +s6-frontend).
+ +
verbosity
+
The default verbosity for s6 and its invoked commands. 0 is +terse (only print fatal error messages), 1 is normal (print error messages and warnings), +over 1 is increasingly verbose (print informational messages, up to tracing and debug +messages at level 4-5). The default is 1.
+
+ + + -- cgit v1.3.1