mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-13 00:11:05 +01:00
Implemented start of defrost timer
This commit is contained in:
parent
c96cf73942
commit
da523830b9
@ -109,7 +109,7 @@ def defrost(filtered_services,timeout_sec):
|
|||||||
max_attempts = timeout_sec / break_time_sec
|
max_attempts = timeout_sec / break_time_sec
|
||||||
wait_for_all_services_to_stop(filtered_services, max_attempts, attempt, 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}")
|
print(f"Unfreezing: {service}")
|
||||||
if service_file_exists(service, "timer"):
|
if service_file_exists(service, "timer"):
|
||||||
timer_name = f"{service}.timer"
|
timer_name = f"{service}.timer"
|
||||||
|
Loading…
Reference in New Issue
Block a user