#!/usr/bin/env bash
set -e
cd /home/berardivalentino/business-directory.store
export SECRET_KEY=1e25994442ac85d0309838f33b5b834b884f5aff2b2472e54d4d8ba8049cf5cf
export SECURITY_PASSWORD_SALT=fba09537638acbc23a32e92ca8c4fff68145c9d956cec25e52efdcd6c0f7e511
exec ./venv/bin/gunicorn wsgi:app \
-b 127.0.0.1:8000 \
--workers 3 \
--timeout 120 \
--pid gunicorn.pid \
--access-logfile gunicorn_access.log \
--error-logfile gunicorn_error.log
