removed -t parameter

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-13 00:52:58 +01:00
parent f28a235c48
commit 0e0ebac8da
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ docker-compose exec -it front /bin/bash
To restart all services, use the following command: To restart all services, use the following command:
```bash ```bash
docker-compose -t 3600 restart docker-compose restart
``` ```
### Resending Queued Mails ### Resending Queued Mails

View File

@ -50,6 +50,6 @@ for failed_container in failed_containers:
filtered_failed_docker_compose_repositories=list(dict.fromkeys(unfiltered_failed_docker_compose_repositories)) 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: for filtered_failed_docker_compose_repository in filtered_failed_docker_compose_repositories:
print("restarting unhealthy container: " + filtered_failed_docker_compose_repository) 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.") print("finished restart procedure.")