podman/pkg/systemd/generate
Valentin Rothberg 9ac5267598 systemd/generate: change type to notify
Change the type of units generated with --new from "forking" to
"notify".  This brings Podman closer to systemd and opens up
Podman to a number of use cases (see #5572).

Units generated without --new remain with `type=forking`.  I
experimented a bit with adding a `--sdnotify` flag to `podman start` but
it doesn't really work well since we're competing with the default
sdnotify mode set during container creation.

Fixes: #5572
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-06-04 10:17:25 +02:00
..
common.go systemd/generate: change type to notify 2021-06-04 10:17:25 +02:00
common_test.go systemd/generate: change type to notify 2021-06-04 10:17:25 +02:00
containers.go systemd/generate: change type to notify 2021-06-04 10:17:25 +02:00
containers_test.go systemd/generate: change type to notify 2021-06-04 10:17:25 +02:00
pods.go podman generate systemd --new do not duplicate params 2021-03-28 20:01:17 +02:00
pods_test.go generate systemd: make mounts portable 2021-05-31 11:31:27 +02:00