mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
run database checks
only in server process
This commit is contained in:
@ -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 "$@"
|
||||
|
Reference in New Issue
Block a user