Skip to content

Commit 40d320d

Browse files
authored
Document that sdnotify can be set to healthy (#911)
For quadlets you can set sdnotify (which maps to Notify=) to healthy to use a healthcheck to determine when the container is up. Signed-off-by: Ewoud Kohl van Wijngaarden <[email protected]>
1 parent d901da6 commit 40d320d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/modules/podman_container.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,9 @@
970970
description:
971971
- Determines how to use the NOTIFY_SOCKET, as passed with systemd and Type=notify.
972972
Can be container, conmon, ignore.
973+
For quadlets it can also be healthy to use the built in health checks, see
974+
L(documentation,https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html#notify-defaults-to-false)
975+
for more details.
973976
type: str
974977
secrets:
975978
description:

0 commit comments

Comments
 (0)