spiegel_podman/pkg/systemd/generate
Valentin Rothberg 0ea5080c91 generate systemd: warn on --restart without --new
Emit a warning to the user when generating a unit with --new on a
container that was created with a custom --restart policy. As shown
in #15284, a custom --restart policy in that case can lead to issues
on system shutdown where systemd attempts to nuke the unit but Podman
keeps on restarting the container.

Fixes: #15284
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-09-13 10:59:57 +02:00
..
common.go podman generate systemd: handle --sdnotify correctly 2022-07-25 14:16:17 +02:00
common_test.go generate systemd: support entrypoint JSON strings 2021-12-08 15:51:23 +01:00
containers.go generate systemd: warn on --restart without --new 2022-09-13 10:59:57 +02:00
containers_test.go Add generate systemd -e/--env option 2022-09-06 20:17:11 +09:00
pods.go Fix stutters 2022-09-10 07:52:00 -04:00
pods_test.go generate systemd: pods: set exit policy 2022-05-03 15:28:50 +02:00