From 5eefb9aae5e9e88b200ff7fcc445120c5ee2998b Mon Sep 17 00:00:00 2001
From: Laurent Bercot
envfile -I conf -- s6-frontend args... envfile -I conf -- s6-frontend args...
+ +The global /etc/s6.conf path for the configuration variable can be +overridden by the admin at build time via the --conffile configure +option, and by the user at s6 run time via the +S6_CONF environment variable. +
+@@ -107,5 +116,43 @@ The default is root and that is fine, but distributions may want to set it to an unprivileged user. +
+ If s6 is invoked with the --user flag, +the /etc/s6-user.conf file is used instead, with the same +syntax and the same variables, but additionally, the following +environment variables, if present, are substituted: +
+ ++ That means that a global /etc/s6-user.conf file can for instance declare +
+ +
+ scandir=${XDG_RUNTIME_DIR}/service
+
+
++and the correct location for the scandir will be obtained, for every user. +
+ ++The global /etc/s6-user.conf path for the configuration variable can be +overridden by the admin at build time via the --userconffile configure +option, and by the user at s6 run time via the +S6_USER_CONF environment variable. +
+