The Gitea Docker entrypoint sets up directories as root then exec's the CMD still as root. Gitea refuses to run as root, so our init script must re-exec itself as the 'git' user via su-exec before running any gitea commands. Bunker Admin