mirror of https://github.com/containers/podman.git
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:
parent
af5b1d6e80
commit
4173f942f1
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue