From be0bdff4d88487ec1a6aa1f16d4809d6a54f42bd Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sat, 9 Dec 2023 14:29:49 +0100 Subject: [PATCH] Raise the sigterm to 2h --- backup-docker-to-local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup-docker-to-local.py b/backup-docker-to-local.py index a986f9b..5bcff0f 100644 --- a/backup-docker-to-local.py +++ b/backup-docker-to-local.py @@ -98,7 +98,7 @@ for volume_name in volume_names: print_bash(rsync_command) print("stop containers...") print("Backup data after container is stopped...") - print_bash("docker stop " + list_to_string(containers)) + print_bash("docker stop -t 7200" + list_to_string(containers)) print_bash(rsync_command) print("start containers...") print_bash("docker start " + list_to_string(containers))