mirror of
https://github.com/containers/podman.git
synced 2025-11-30 10:07:33 +08:00
Add ExitPolicy key to pod quadlets with logic to default to stop. Docs updated with clarifcation on default value and usage example. Simple assert added to bats to verify default constraint exists. Changed argument order in ginkgo basic pod unit test Signed-off-by: Neil Bailey <nbsp@nbailey.net>
10 lines
596 B
Plaintext
10 lines
596 B
Plaintext
## assert-key-is Unit RequiresMountsFor "%t/containers"
|
|
## assert-key-is Service Type forking
|
|
## assert-key-is Service SyslogIdentifier "%N"
|
|
## assert-key-is-regex Service ExecStartPre ".*/podman pod create --infra-conmon-pidfile=%t/%N.pid --replace --exit-policy stop --infra-name systemd-basic-infra --name systemd-basic"
|
|
## assert-key-is-regex Service ExecStart ".*/podman pod start systemd-basic"
|
|
## assert-key-is-regex Service ExecStop ".*/podman pod stop --ignore --time=10 systemd-basic"
|
|
## assert-key-is-regex Service ExecStopPost ".*/podman pod rm --ignore --force systemd-basic"
|
|
|
|
[Pod]
|