diff options
author | Giacomo Leidi via Guix-patches via <guix-patches@gnu.org> | 2024-06-11 22:04:59 +0200 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-05 15:12:34 +0800 |
commit | cb57a3fd9f09f4158f1e2ff122ac855be422f374 (patch) | |
tree | d80dc0de55e83bfa1367b6c2e2b4b23468efc6f3 /doc | |
parent | 7d91bd453010da8941f32694706024645905ae37 (diff) | |
download | guix-cb57a3fd9f09f4158f1e2ff122ac855be422f374.tar.gz |
services: oci-container: Allow setting Shepherd respawn? in oci-container-configuration.
* gnu/services/docker.scm (oci-container-configuration) [respawn?]: New field. (oci-container-shepherd-service): use it. * doc/guix.texi: Document it. Change-Id: I0d6367607fd0fd41f90a54b33d80bf4d4f43dd8b Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 5f55d569c5..13dbe06bb4 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -40894,6 +40894,10 @@ if it does not exist, otherwise it is appended to. Whether this service should be started automatically by the Shepherd. If it is @code{#f} the service has to be started manually with @command{herd start}. +@item @code{respawn?} (default: @code{#f}) (type: boolean) +Whether to have Shepherd restart the service when it stops, for instance when +the underlying process dies. + @item @code{network} (default: @code{""}) (type: string) Set a Docker network for the spawned container. |