aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2025-02-22 23:20:45 +0100
committerLudovic Courtès <ludo@gnu.org>2025-02-23 22:53:13 +0100
commitbcb772d7d00346f97557040469d2d5021f5e80ba (patch)
treee107624c78172727644dc3cc03809bde36e151c7
parentbd7b9e6a601721258e937ccc87eb7c4d75d84ac4 (diff)
downloadguix-bcb772d7d00346f97557040469d2d5021f5e80ba.tar.gz
guix-bcb772d7d00346f97557040469d2d5021f5e80ba.zip
doc: Write about depending on the ‘user-processes’ Shepherd service.
* doc/guix.texi (Shepherd Services): Add paragraph on ‘user-processes’. Suggested-by: Dariqq <dariqq@posteo.net> Change-Id: I76fb11779eefc90d13dbc11368ddf64f7450f5e6
-rw-r--r--doc/guix.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 1bfe76f016..b525913c15 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -46142,6 +46142,13 @@ shepherd, The GNU Shepherd Manual}, for details.
@item @code{requirement} (default: @code{'()})
List of symbols denoting the Shepherd services this one depends on.
+@cindex @code{user-processes} Shepherd service
+With very few exceptions, services that start a daemon must depend at
+least on the @code{user-processes} service; this ensures that these
+daemons are started after all the file systems have been mounted and
+that, during shutdown, they are stopped before attempting to terminate
+remaining user processes.
+
@cindex one-shot services, for the Shepherd
@item @code{one-shot?} (default: @code{#f})
Whether this service is @dfn{one-shot}. One-shot services stop immediately