mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-19 20:37:35 +00:00
`podman-restart.service` stop them
When `podman-restart.service` stops containers, it marks them as "stopped by
user" which breaks the `unless-stopped` restart policy. Add hidden
`--not-stopped-by-user` flag to prevent this, allowing `unless-stopped`
containers to restart on next boot.
Fixes: https://github.com/containers/podman/issues/28152
Fixes: https://issues.redhat.com/browse/RUN-4357
Cherry pick fixes: https://redhat.atlassian.net/browse/RHEL-157746, https://redhat.atlassian.net/browse/RHEL-157747
Signed-off-by: Jan Rodák <hony.com@seznam.cz>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| reports | ||
| types | ||
| apply.go | ||
| artifact.go | ||
| auto-update.go | ||
| container_ps.go | ||
| containers.go | ||
| engine.go | ||
| engine_container.go | ||
| engine_image.go | ||
| events.go | ||
| generate.go | ||
| healthcheck.go | ||
| images.go | ||
| machine.go | ||
| manifest.go | ||
| network.go | ||
| play.go | ||
| pods.go | ||
| quadlet.go | ||
| scp.go | ||
| secrets.go | ||
| system.go | ||
| types.go | ||
| volumes.go | ||