mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
doc: Mention that services doing mounts should depend on user-file-systems.
This is a recent change. If the services do not depend on it, it's possible user-file-systems will try to unmount the file systems byt itself first. * doc/guix.texi (Shepherd Services): Mention services should depend on user-file-systems if they do mounts. Change-Id: I87f459aa43c2a59ffcae35750e02a08abc3c1f8a Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This commit is contained in:
parent
d7fd4eab51
commit
ed1b6b5451
1 changed files with 5 additions and 0 deletions
|
|
@ -49227,6 +49227,11 @@ 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.
|
||||
|
||||
Similarly, services that do make mounts during their startup or operation,
|
||||
should have @code{user-file-systems} as a requirement. @code{user-processes}
|
||||
does depend on @code{user-file-systems} as well.
|
||||
So direct requirement only on @code{user-processes} is sufficient.
|
||||
|
||||
@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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue