mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-12 01:01:11 +03:00
12 lines
239 B
Bash
12 lines
239 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ -x /usr/local/bin/docker-setup.sh ]; then
|
||
|
/usr/local/bin/docker-setup.sh || { echo 'docker setup failed' ; exit 1; }
|
||
|
fi
|
||
|
|
||
|
if [ $# -gt 0 ]; then
|
||
|
exec "$@"
|
||
|
else
|
||
|
exec /usr/local/bin/gitea -c ${GITEA_APP_INI} web
|
||
|
fi
|