plane/apiserver/bin/takeoff

6 lines
236 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
python manage.py wait_for_db
python manage.py migrate
exec gunicorn plane.wsgi -k gthread --workers 8 --bind 0.0.0.0:8000 --config gunicorn.config.py --max-requests 10000 --max-requests-jitter 1000 --access-logfile -