#!/bin/bash gunicorn -c gunicorn.py main # Alternatively "passenger start" should do the trick as well.