Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: container.notify type #12

Merged
merged 2 commits into from
Dec 7, 2024

Conversation

pedorich-n
Copy link
Contributor

@pedorich-n pedorich-n commented Dec 6, 2024

Notify field also accepts the value healthy:

In addition, setting Notify to healthy will postpone startup notifications until such time as the container is marked healthy, as determined by Podman healthchecks. Note that this requires setting up a container healthcheck, see the HealthCmd option for more.

From https://docs.podman.io/en/v5.3.1/markdown/podman-systemd.unit.5.html#notify-defaults-to-false
Also in code: https://github.com/containers/podman/blob/8ff491b0d9109a293847bb6a612fa195094fd6ca/pkg/systemd/quadlet/quadlet.go#L679-L691

container.nix Outdated Show resolved Hide resolved
Co-authored-by: Archimedes Smith <[email protected]>
@SEIAROTg SEIAROTg merged commit df1dae6 into SEIAROTg:main Dec 7, 2024
2 checks passed
@pedorich-n pedorich-n deleted the fix-container-notify branch December 7, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants