From 35e927ec6c472f0f654c75a47be5195a48b1b112 Mon Sep 17 00:00:00 2001 From: QYG2297248353 Date: Tue, 9 Dec 2025 05:30:33 +0000 Subject: [PATCH] Processed apps directory via GitHub Actions --- appstore/lucky/2.23.1/run/start.sh | 4 +++- dockge/lucky/run/start.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/appstore/lucky/2.23.1/run/start.sh b/appstore/lucky/2.23.1/run/start.sh index 27858e6d9..4d33c1d39 100644 --- a/appstore/lucky/2.23.1/run/start.sh +++ b/appstore/lucky/2.23.1/run/start.sh @@ -3,6 +3,7 @@ DEFAULT_PORT=16601 PORT_FILE="/app/conf/port" WAIT_SECONDS=30 +DELAY_AFTER_PORT_UP=5 if [ -f "$PORT_FILE" ]; then DETECT_PORT=$(cat "$PORT_FILE") @@ -30,7 +31,8 @@ while ! nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; do done if nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; then - echo "Port ${DETECT_PORT} is up." + echo "Port ${DETECT_PORT} is up. Waiting extra ${DELAY_AFTER_PORT_UP}s..." + sleep ${DELAY_AFTER_PORT_UP} else echo "Port ${DETECT_PORT} still not open, continuing anyway." fi diff --git a/dockge/lucky/run/start.sh b/dockge/lucky/run/start.sh index 27858e6d9..4d33c1d39 100644 --- a/dockge/lucky/run/start.sh +++ b/dockge/lucky/run/start.sh @@ -3,6 +3,7 @@ DEFAULT_PORT=16601 PORT_FILE="/app/conf/port" WAIT_SECONDS=30 +DELAY_AFTER_PORT_UP=5 if [ -f "$PORT_FILE" ]; then DETECT_PORT=$(cat "$PORT_FILE") @@ -30,7 +31,8 @@ while ! nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; do done if nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; then - echo "Port ${DETECT_PORT} is up." + echo "Port ${DETECT_PORT} is up. Waiting extra ${DELAY_AFTER_PORT_UP}s..." + sleep ${DELAY_AFTER_PORT_UP} else echo "Port ${DETECT_PORT} still not open, continuing anyway." fi