diff options
author | Giacomo Leidi via Guix-patches via <guix-patches@gnu.org> | 2024-06-11 22:05:00 +0200 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-05 15:12:34 +0800 |
commit | 5ee2799cabba4b2d462ac064a98789d7bca07923 (patch) | |
tree | 05460fdcdccfad8060eac9a373c67cfdf6095e0d /doc/guix.texi | |
parent | cb57a3fd9f09f4158f1e2ff122ac855be422f374 (diff) | |
download | guix-5ee2799cabba4b2d462ac064a98789d7bca07923.tar.gz |
services: oci-container: Allow setting Shepherd actions in oci-container-configuration.
* gnu/services/docker.scm (oci-container-configuration) [shepherd-actions]: New field. (sanitize-shepherd-actions): sanitize it. (oci-container-shepherd-service): use it. * doc/guix.texi: Document it. Change-Id: I0ca9826542be7cb8ca280a07a9bff1a262c2a8a7 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
Diffstat (limited to 'doc/guix.texi')
-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 13dbe06bb4..7d0824784d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -40898,6 +40898,10 @@ is @code{#f} the service has to be started manually with @command{herd start}. Whether to have Shepherd restart the service when it stops, for instance when the underlying process dies. +@item @code{shepherd-actions} (default: @code{'()}) (type: list-of-symbols) +This is a list of @code{shepherd-action} records defining actions supported +by the service. + @item @code{network} (default: @code{""}) (type: string) Set a Docker network for the spawned container. |