diff --git a/docker/studip/docker-entrypoint.sh b/docker/studip/docker-entrypoint.sh index bafc2fe5feba91cf5a75ff15d9e00b991f073f4c..e7bb00f589caa4e17dd628a517430d695a4658a1 100644 --- a/docker/studip/docker-entrypoint.sh +++ b/docker/studip/docker-entrypoint.sh @@ -28,17 +28,14 @@ done sh $STUDIP/.gitlab/scripts/install_db.sh -if [ ! -z $AUTO_MIGRATE ]; then - echo "Migrate Instance" - # If migrate fails start instance anyway - php "$STUDIP/cli/studip migrate" || true - echo "Migration finished" -fi +echo "Migrate Instance" +# If migrate fails start instance anyway +php "$STUDIP/cli/studip migrate" || true +echo "Migration finished" # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then - set -- apache2-foreground "$@" + set -- apache2-foreground "$@" fi exec "$@" -