mirror of
https://github.com/EV21/uberspace-helper.git
synced 2026-10-07 20:33:18 +02:00
minor: wait 30 seconds after initial start
This commit is contained in:
1 file changed
+3
-2
+3
-2
@@ -18,7 +18,7 @@ function install_gitea
|
|||||||
echo "Please set your $APP_NAME login credentials."
|
echo "Please set your $APP_NAME login credentials."
|
||||||
read -r -p "$APP_NAME admin user: " ADMIN_USER
|
read -r -p "$APP_NAME admin user: " ADMIN_USER
|
||||||
ask_for_password
|
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"
|
curl --location --progress-bar --output "$TMP_LOCATION"/gitea "$DOWNLOAD_URL"
|
||||||
verify_file
|
verify_file
|
||||||
mkdir --parents ~/gitea/custom/conf/
|
mkdir --parents ~/gitea/custom/conf/
|
||||||
@@ -36,7 +36,8 @@ function install_gitea
|
|||||||
supervisorctl reread
|
supervisorctl reread
|
||||||
supervisorctl update gitea
|
supervisorctl update gitea
|
||||||
supervisorctl status gitea
|
supervisorctl status gitea
|
||||||
sleep 5
|
echo "waiting 30 seconds ..."
|
||||||
|
sleep 30
|
||||||
supervisorctl status gitea
|
supervisorctl status gitea
|
||||||
$GITEA_BINARY admin user create \
|
$GITEA_BINARY admin user create \
|
||||||
--username "${ADMIN_USER}" \
|
--username "${ADMIN_USER}" \
|
||||||
|
|||||||
Reference in new issue
Block a user