spiegel_podman/pkg/systemd
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
..
define generate systemd: handle --restart 2021-09-07 13:58:11 +02:00
generate generate systemd: warn on --restart without --new 2022-09-13 10:59:57 +02:00
notifyproxy kube play: support auto updates and rollbacks 2022-09-06 08:56:55 +02:00
activation.go pkg/systemd: don't require LISTEN_FDNAMES for socket activation 2021-06-24 09:01:39 -06:00
activation_test.go pkg/systemd: don't require LISTEN_FDNAMES for socket activation 2021-06-24 09:01:39 -06:00
dbus.go enable gocritic linter 2022-04-26 18:12:22 +02:00