diff options
| author | Rutherther <rutherther@ditigal.xyz> | 2025-12-20 13:35:08 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2025-12-20 13:37:13 +0100 |
| commit | ed1b6b5451cd5964724cc0a24e0b9756a50dcb6b (patch) | |
| tree | 4905fc22a3d39592c21f0e47639698753df85fa5 /doc | |
| parent | d7fd4eab515ab92493b2f232344d9d5ae6e6c9b1 (diff) | |
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>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index a2e2a8e5dfd..9ed23ebe805 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -49227,6 +49227,11 @@ daemons are started after all the file systems have been mounted and | |||
| 49227 | that, during shutdown, they are stopped before attempting to terminate | 49227 | that, during shutdown, they are stopped before attempting to terminate |
| 49228 | remaining user processes. | 49228 | remaining user processes. |
| 49229 | 49229 | ||
| 49230 | Similarly, services that do make mounts during their startup or operation, | ||
| 49231 | should have @code{user-file-systems} as a requirement. @code{user-processes} | ||
| 49232 | does depend on @code{user-file-systems} as well. | ||
| 49233 | So direct requirement only on @code{user-processes} is sufficient. | ||
| 49234 | |||
| 49230 | @cindex one-shot services, for the Shepherd | 49235 | @cindex one-shot services, for the Shepherd |
| 49231 | @item @code{one-shot?} (default: @code{#f}) | 49236 | @item @code{one-shot?} (default: @code{#f}) |
| 49232 | Whether this service is @dfn{one-shot}. One-shot services stop immediately | 49237 | Whether this service is @dfn{one-shot}. One-shot services stop immediately |
