From 585f3afa08826317eaa2f735d0d9c6cc00d0c1dd Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 15 Dec 2023 07:06:09 +0100 Subject: [PATCH] Implemented start of defrost timer --- .../files/system-maintenance-service-freezer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/system-maintenance-service-freezer/files/system-maintenance-service-freezer.py b/roles/system-maintenance-service-freezer/files/system-maintenance-service-freezer.py index a1300c0f..f1acc840 100644 --- a/roles/system-maintenance-service-freezer/files/system-maintenance-service-freezer.py +++ b/roles/system-maintenance-service-freezer/files/system-maintenance-service-freezer.py @@ -109,7 +109,7 @@ def defrost(filtered_services,timeout_sec): max_attempts = timeout_sec / break_time_sec wait_for_all_services_to_stop(filtered_services, max_attempts, attempt, break_time_sec) - for service in filtered_services: + for service in filtered_services + [f"system-maintenance-service-{action}"]: print(f"Unfreezing: {service}") if service_file_exists(service, "timer"): timer_name = f"{service}.timer"