diff --git a/weekly_routine.sh b/weekly_routine.sh index 954cfd430aae996213d8990dddd69f0817d9e7c4..f2bfc35ee592426a307eed59014ede29e6d2b28a 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!"