From f693a1517fe1195981700e82c4f0bfbfd763fc0c Mon Sep 17 00:00:00 2001 From: Eduard Veit Date: Fri, 28 Apr 2023 09:14:37 +0200 Subject: [PATCH] minor: wait 30 seconds after initial start --- gitea-installer.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gitea-installer.sh b/gitea-installer.sh index 38b6aae..80f2e1f 100644 --- a/gitea-installer.sh +++ b/gitea-installer.sh @@ -18,7 +18,7 @@ function install_gitea echo "Please set your $APP_NAME login credentials." read -r -p "$APP_NAME admin user: " ADMIN_USER ask_for_password - echo "Installing $APP_NAME $INSTALL_VERSION" + echo "Download $APP_NAME $INSTALL_VERSION" curl --location --progress-bar --output "$TMP_LOCATION"/gitea "$DOWNLOAD_URL" verify_file mkdir --parents ~/gitea/custom/conf/ @@ -36,7 +36,8 @@ function install_gitea supervisorctl reread supervisorctl update gitea supervisorctl status gitea - sleep 5 + echo "waiting 30 seconds ..." + sleep 30 supervisorctl status gitea $GITEA_BINARY admin user create \ --username "${ADMIN_USER}" \