#!/bin/bash

echo "Step 01. starting nginx"

/etc/init.d/nginx restart

echo "Step 02. starting gunicorn"

gunicorn -w 3 -b 0.0.0.0:5000 config.wsgi:application --timeout 300 --max-requests 1
