Skip to content

Commit a6382e4

Browse files
authored
add delay
1 parent c49fe2d commit a6382e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nginx/entrypoint-nginx.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ wait_for_service() {
4848
exit 1
4949
fi
5050
echo -e "${COLOR_YELLOW}${COLOR_BOLD}NPP-NGINX:${COLOR_RESET} Waiting for ${COLOR_CYAN}${host}:${port}${COLOR_RESET} to become available..."
51-
sleep "$wait_time"
51+
sleep "${wait_time}"
5252
retries=$((retries - 1))
5353
done
5454

@@ -90,6 +90,8 @@ else
9090
echo -e "${COLOR_GREEN}${COLOR_BOLD}NPP-NGINX:${COLOR_RESET} User ${COLOR_LIGHT_CYAN}${NGINX_WEB_USER}${COLOR_RESET} is already in group ${COLOR_LIGHT_CYAN}${NPP_USER}${COLOR_RESET} Skipping.."
9191
fi
9292

93+
sleep 3
94+
9395
# Congratulatory Header
9496
echo -e "\n${COLOR_YELLOW}${COLOR_BOLD}🎉 CONGRATULATIONS! 🎉${COLOR_RESET}"
9597
echo -e "${COLOR_GREEN}${COLOR_BOLD}Your docker stack is ready, Unlocked Ultra-Performance with NPP Plugin${COLOR_RESET}"

0 commit comments

Comments
 (0)