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:42:25 +01:00

9 lines
142 B
Bash

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