Apply suggestions from code review

Co-authored-by: Valentin Rothberg <vrothberg@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2023-10-12 07:45:41 -04:00
committed by GitHub
parent 702f155288
commit 7b84b55daa

View File

@ -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