refactor: use utils to handle service actions

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2024-05-01 21:33:12 +02:00
parent b70ac0dfd7
commit be228210bd
4 changed files with 29 additions and 62 deletions

View File

@@ -49,7 +49,7 @@ def run_client_removal(
client_name = client.name
remove_client_dir(client)
remove_nginx_config(client_name)
remove_nginx_logs(client_name)
remove_nginx_logs(client_name, kl_instances)
section = f"update_manager {client_name}"
remove_config_section(section, mr_instances)