From 4173f942f1a5a4895f81f25ccc54af5a8a127276 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Wed, 31 May 2023 18:41:06 +0200 Subject: [PATCH] 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 --- test/system/252-quadlet.bats | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/system/252-quadlet.bats b/test/system/252-quadlet.bats index 2076f2d650..f65a8db037 100644 --- a/test/system/252-quadlet.bats +++ b/test/system/252-quadlet.bats @@ -668,10 +668,6 @@ EOF [Kube] Yaml=$yaml_file ExitCodePropagation=$exit_code_prop - -# Never restart the service as we only want to test exit codes. -[Service] -Restart=never EOF run_quadlet "$quadlet_file"