mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
test/system: quadlet use correct systemd restart policy
Systemd doesn't support `never` and logs a warning, systemd uses no as default so we do not have to specify it at all. Check systemd.service(5) for the systemd docs. Fixes #18743 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -668,10 +668,6 @@ EOF
|
|||||||
[Kube]
|
[Kube]
|
||||||
Yaml=$yaml_file
|
Yaml=$yaml_file
|
||||||
ExitCodePropagation=$exit_code_prop
|
ExitCodePropagation=$exit_code_prop
|
||||||
|
|
||||||
# Never restart the service as we only want to test exit codes.
|
|
||||||
[Service]
|
|
||||||
Restart=never
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
run_quadlet "$quadlet_file"
|
run_quadlet "$quadlet_file"
|
||||||
|
Reference in New Issue
Block a user