From adbb2a1bea756616e6c499eace5eaf65441c6495 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Thu, 11 Sep 2025 01:00:46 -0700 Subject: [PATCH] Update init.sh --- init.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.sh b/init.sh index d925f8b..099eeb4 100644 --- a/init.sh +++ b/init.sh @@ -1,10 +1,9 @@ #!/usr/bin/env sh set -eu mkdir -p /data/gitea/conf /data/gitea/custom -chown -R 1000:1000 /data if [ ! -f /data/.bootstrapped ]; then /usr/local/bin/gitea migrate /usr/local/bin/gitea admin user create --admin --username "${GITEA_ADMIN_USER}" --password "${GITEA_ADMIN_PASSWD}" --email "${GITEA_ADMIN_EMAIL}" || true touch /data/.bootstrapped fi -exec gosu 1000:1000 /usr/local/bin/gitea web +exec /usr/local/bin/gitea web \ No newline at end of file