run database checks

only in server process
This commit is contained in:
Matthias Mair 2024-02-20 00:35:40 +01:00
parent 34a25863b5
commit 6c33c5f927
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 6 additions and 0 deletions

View File

@ -52,5 +52,11 @@ fi
cd ${INVENTREE_HOME}
# Check for database updates
if($2 == 'server') then
echo "Running database update checks"
source ./execute.sh
fi
# Launch the CMD *after* the ENTRYPOINT completes
exec "$@"