Setup newrelic for cloud.gov environments

This commit is contained in:
Ryan Ahearn
2023-01-18 09:20:22 -05:00
parent bfeb65c914
commit bec3c53128
8 changed files with 13 additions and 2 deletions

View File

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