This repository has been archived on 2020-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
git.autonomic.zone/sbin/dokku-entrypoint.sh
2020-03-15 12:43:03 +01:00

9 lines
142 B
Bash
Executable File

#!/bin/sh
if [ -f "/data/gitea/conf/app.ini" ]; then
echo "=====> Running database migration"
gitea migrate
fi
/usr/bin/entrypoint "$@"