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
This commit is contained in:
Ludovic Courtès 2025-02-22 23:20:45 +01:00
parent bd7b9e6a60
commit bcb772d7d0
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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