FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 7f1e0072 authored by Vitor Trovisco's avatar Vitor Trovisco
Browse files

Update weekly_routine.sh

testing --tty in 'docker restart'
parent f83c4047
No related branches found
No related tags found
No related merge requests found
......@@ -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!"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment