From 0e0ebac8dab5ec74aa8c81e51c45fa1c29d80238 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 13 Dec 2023 00:52:58 +0100 Subject: [PATCH] removed -t parameter --- roles/docker-mailu/README.md | 2 +- roles/heal-docker/files/heal-docker.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/docker-mailu/README.md b/roles/docker-mailu/README.md index b78d8463..811d6204 100644 --- a/roles/docker-mailu/README.md +++ b/roles/docker-mailu/README.md @@ -98,7 +98,7 @@ docker-compose exec -it front /bin/bash To restart all services, use the following command: ```bash -docker-compose -t 3600 restart +docker-compose restart ``` ### Resending Queued Mails diff --git a/roles/heal-docker/files/heal-docker.py b/roles/heal-docker/files/heal-docker.py index 3674fe68..85508817 100644 --- a/roles/heal-docker/files/heal-docker.py +++ b/roles/heal-docker/files/heal-docker.py @@ -50,6 +50,6 @@ for failed_container in failed_containers: filtered_failed_docker_compose_repositories=list(dict.fromkeys(unfiltered_failed_docker_compose_repositories)) for filtered_failed_docker_compose_repository in filtered_failed_docker_compose_repositories: print("restarting unhealthy container: " + filtered_failed_docker_compose_repository) - print_bash('cd /home/administrator/docker-compose/' + filtered_failed_docker_compose_repository + '/ && docker-compose stop -t 7200 && docker-compose start') + print_bash('cd /home/administrator/docker-compose/' + filtered_failed_docker_compose_repository + '/ && docker-compose restart') print("finished restart procedure.") \ No newline at end of file