diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 86de729..3196cd5 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -679,7 +679,9 @@ INSTALL_WATCHTOWER() { -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=25 \ containrrr/watchtower echo -e "\n${idsCL[Green]}Watchtower has been installed${idsCL[Default]}\n" - sleep 2s + until [ "$(docker inspect -f {{.State.Health.Status}} watchtower)"=="healthy" ]; do + sleep 0.1; + done; docker logs watchtower echo ;;