From b1b5cca013c200014799953dd40d0b9e2ea88e63 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 22 Oct 2025 03:03:53 +0000 Subject: Add some doc, improve s6-background-watch --- doc/s6-applyuidgid.html | 2 +- doc/s6-background-watch.html | 128 +++++++++++++++++++++++++++++++++++++++++++ doc/servicedir.html | 28 +++++++++- 3 files changed, 155 insertions(+), 3 deletions(-) create mode 100644 doc/s6-background-watch.html (limited to 'doc') diff --git a/doc/s6-applyuidgid.html b/doc/s6-applyuidgid.html index c532d30..9502ca6 100644 --- a/doc/s6-applyuidgid.html +++ b/doc/s6-applyuidgid.html @@ -48,7 +48,7 @@ value overrides the environment variable.
  • -z : unexport. The UID, GID and GIDLIST variables will be removed from the process environment.
  • - +

    Notes

    +
  • An optional regular file named pidfile. +Creating such a file is not recommended, but is a workaround — and only +a workaround — for daemons that background themselves. If this file +exists, it must contain the path (either absolute or relative to the service +directory) to a pid file, followed by a newline; the path must be shorter than +512 bytes. The following behaviour is then expected: + +If the file does not exist, s6-supervise only +supervises daemons that do not background themselves, which is the normal case.
  • +
  • A fifodir named event. It is automatically created by s6-supervise if it does not exist. foo/event -- cgit v1.3.1