From 7ac48b2f5733e3cdce9719dc2cc92a38b24337a9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 8 Feb 2025 10:16:18 -0600 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ;;