#!/bin/bash

set -e

if [[ -n $1 ]]; then
   config=$1
else
   echo "Provide a uwsgi ini file (without module and chdir flag)"
   exit 1
fi

uwsgi $config --chdir /usr/local/etc/prom2teams --module wsgi
