From 7b84b55daa15093776a59c2bae7946cc011c8568 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 12 Oct 2023 07:45:41 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Valentin Rothberg Signed-off-by: Daniel J Walsh --- docs/source/markdown/podman-systemd.unit.5.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/source/markdown/podman-systemd.unit.5.md b/docs/source/markdown/podman-systemd.unit.5.md index 97dd772fb9..c0dee51f51 100644 --- a/docs/source/markdown/podman-systemd.unit.5.md +++ b/docs/source/markdown/podman-systemd.unit.5.md @@ -64,11 +64,12 @@ TimeoutStartSec=900 By default, the `Type` field of the `Service` section of the Quadlet file does not need to be set. Quadlet will set it to `notify` for `.container` and `.kube` files and to `oneshot` for `.volume`, `.network` and `.image` files. -However, the value may be explicitly set to `oneshot` for `.container` and `.kube` files when the no containers are expected +However, `Type` may be explicitly set to `oneshot` for `.container` and `.kube` files when no containers are expected to run once `podman` exits. Examples for such cases: -- `.container` file with an image that exit after their entrypoint has finished +- `.container` file with an image that exits after their entrypoint has finished +`` - `.kube` file pointing to a Kubernetes Yaml file that does not define any containers. E.g. PVCs only ### Enabling unit files