#!/bin/bash VENV=1 HAS_DB=0 if [ "$1" == "--no-venv" ]; then VENV=0 fi ABSPATH=$(cd "$(dirname "$0")"; pwd -P) if [ $VENV -eq 1 ]; then source "$ABSPATH"/venv/bin/activate fi if [ "$2" == "--has-db" ]; then gunicorn -w 8 -t 30 -b 0.0.0.0:8349 wsgi:app else gunicorn -w 8 -t 30 -b 0.0.0.0:8349 wsgi_0:app fi