mirror of
https://github.com/containers/podman.git
synced 2026-03-30 20:43:40 -04:00
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 Signed-off-by: Jan Rodák <hony.com@seznam.cz>