#!/bin/bash cd $( dirname "$0" ) . virtualenv/bin/activate test -f .git/refs/heads/master && export GIT_COMMIT=$( cat .git/refs/heads/master ) exec gunicorn -b 127.0.0.1:8041 -w 3 abot:app