spiegel_podman/contrib/systemd/system
Jan Rodák 4d3c6311a5
Fix unless-stopped restart policy to match Docker behavior
- Update documentation: Differentiate `unless-stopped` from `always` - containers stopped by the user before a reboot will not restart.
- Add `should-start-on-boot` filter: Identify containers that require a restart after a system reboot.
- Update command documentation: Add `restart-policy` and `label!` filters to the documentation for container commands (rm, ps, start, stop, pause, unpause, restart).
- Add `restart-policy` and `shoud-start-on-boot` to completions.
- Update service: Update `podman-restart.service` to use the `needs-restart=true` filter.
- Preserve state: Preserve the `StoppedByUser` state across reboots.
- Update API: Add a `ShouldStartOnBoot()` method to the Container API.
- Update documentation: Add descriptions for the `should-start-on-boot` filter.

Fixes: https://issues.redhat.com/browse/RHEL-129405
Fixes: https://github.com/containers/podman/issues/20418

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-12-02 15:40:46 +01:00
..
podman-auto-update.service.in contrib/systemd: move podman-auto-update units 2024-10-17 17:48:28 +02:00
podman-auto-update.timer contrib/systemd: move podman-auto-update units 2024-10-17 17:48:28 +02:00
podman-clean-transient.service.in Add podman-clean-transient.service service 2022-12-20 10:24:25 +01:00
podman-docker.conf Use tmpfiles.d specifiers instead of fixed path 2022-08-24 15:45:50 +09:00
podman-kube@.service.in podman-kube@ template: use podman kube 2022-12-16 13:16:06 +01:00
podman-restart.service.in Fix unless-stopped restart policy to match Docker behavior 2025-12-02 15:40:46 +01:00
podman.service.in systemd: enable all cgroups when running as a service 2022-03-30 15:49:06 +02:00
podman.socket podman.service: set doc to podman-system-service 2020-07-20 11:42:02 +02:00