Exec web startup command

This allows for app to receive process signals from cloud foundry
This commit is contained in:
Ryan Ahearn
2022-12-01 11:23:43 -05:00
parent a2d459c5e6
commit d0b2d58b4a
2 changed files with 2 additions and 1 deletions

View File

@@ -4,4 +4,4 @@ if [[ $CF_INSTANCE_INDEX -eq 0 ]]; then
flask db upgrade
fi
gunicorn -c ${HOME}/gunicorn_config.py application
exec gunicorn -c ${HOME}/gunicorn_config.py application