fix: run Gitea admin user creation command as 'git' user in Unraid

This commit is contained in:
S
2026-03-02 11:05:19 -05:00
parent e6ee303f8a
commit 23e93c5124

View File

@@ -145,7 +145,7 @@ else
# Create admin via CLI inside the container (not the API) because no API
# token exists yet at this point. || true prevents set -e from exiting if
# the user was partially created in a previous interrupted run.
ssh_exec UNRAID "docker exec gitea gitea admin user create \
ssh_exec UNRAID "docker exec -u git gitea gitea admin user create \
--username '${GITEA_ADMIN_USER}' \
--password '${GITEA_ADMIN_PASSWORD}' \
--email '${GITEA_ADMIN_EMAIL}' \