mirror of
https://github.com/multipleof4/git.planetrenox.com.git
synced 2026-01-13 16:07:55 +00:00
Delete init.sh
This commit is contained in:
9
init.sh
9
init.sh
@@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
mkdir -p /data/gitea/conf /data/gitea/custom
|
||||
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 /usr/local/bin/gitea web
|
||||
Reference in New Issue
Block a user