spiegel_podman/pkg/systemd
Valentin Rothberg 221cfc6872 container/pod id file: truncate instead of throwing an error
Truncate the container and pod ID files instead of throwing an error.
The main motivation is to prevent redundant work when starting systemd
units.  Throwing an error when the file already exists is not preventing
races or file corruptions, so let's leave that to the user which in
almost all cases are generated (and tested) systemd units.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-10-25 09:37:35 +02:00
..
define generate systemd: handle --restart 2021-09-07 13:58:11 +02:00
generate container/pod id file: truncate instead of throwing an error 2022-10-25 09:37:35 +02:00
notifyproxy play kube: notifyproxy: listen before starting the pod 2022-10-12 11:36:04 +02:00
parser move quadlet packages into pkg/systemd 2022-10-19 13:38:27 +02:00
quadlet move quadlet packages into pkg/systemd 2022-10-19 13:38:27 +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