From 7f1e00721508cb00e95824c22b410a3591cdd079 Mon Sep 17 00:00:00 2001 From: Vitor Trovisco <vmt25@cam.ac.uk> Date: Wed, 31 Mar 2021 16:22:11 +0000 Subject: [PATCH] Update weekly_routine.sh testing --tty in 'docker restart' --- weekly_routine.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weekly_routine.sh b/weekly_routine.sh index 3b73cce..72ae2b7 100755 --- a/weekly_routine.sh +++ b/weekly_routine.sh @@ -78,7 +78,7 @@ function restart_canto() # Canto restart # Get Container ID from output DOCKERNAME=$(docker ps -a --filter status=running | awk '$2 ~ /pombase\/canto-base/ { print $1 }') - if docker restart --tty "${DOCKERNAME}"; then + if docker --tty restart "${DOCKERNAME}"; then log "Canto restarted successfully" else log "Canto failed to restart sucessfully!" -- GitLab