From 7abd8c924f42b497b1e5b939410eada218564881 Mon Sep 17 00:00:00 2001 From: Vitor Trovisco <vmt25@cam.ac.uk> Date: Thu, 4 Aug 2022 15:05:59 +0000 Subject: [PATCH] Update weekly_routine.sh - fixing function restart_canto --- weekly_routine.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weekly_routine.sh b/weekly_routine.sh index 954cfd4..f2bfc35 100755 --- a/weekly_routine.sh +++ b/weekly_routine.sh @@ -77,7 +77,7 @@ function restart_canto() # Canto restart # Get Container ID from output - if docker restart canto; then + if /etc/init.d/canto restart; then log "Canto restarted successfully" else log "Canto failed to restart sucessfully!" -- GitLab