From dcde199cad545f33847d94e7bfa662f38559d517 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 8 Jan 2021 17:48:46 +0000 Subject: s6-u-m fixes and doc fixes --- doc/s6-usertree-maker.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/s6-usertree-maker.html') diff --git a/doc/s6-usertree-maker.html b/doc/s6-usertree-maker.html index b69fbf5..38931b9 100644 --- a/doc/s6-usertree-maker.html +++ b/doc/s6-usertree-maker.html @@ -252,6 +252,18 @@ easier to generate programmatically and to harden than shell scripts, so it is o built if s6 is built with execline support - i.e. the --disable-execline switch has not been given to configure. +
  • For the admin who wants to automate user tree management, s6-usertree-maker +is a building block meant to be used in scripts, not a complete turnkey +solution. For instance, s6-usertree-maker does not create userscandir for +a user: it assumes that that scandir is already in place. It does not create +logdir either: logdir, or at least its parent directory, must +already exist before the logger is run, else s6-log will +fail repeatedly. Make sure that all the data and metadata referenced by the service's +and the logger's run scripts are actually present and valid before starting the +service.
  • +
  • If s6-usertree-maker encounters failure (and exits 111), it does not clean up +the directories it created. Make sure to always test s6-usertree-maker's return code +and clean up after it if needed.
  • -- cgit v1.2.3