Files
mayan-edms/contrib/upstart/service_demon.sh
T
2014-07-11 00:32:50 -04:00

10 lines
326 B
Bash
Executable File

#!/bin/bash
# Run the gunicorn service
# Make sure we're in the right virtual env and location
source /home/mayan/.virtualenvs/production/bin/activate
source /home/mayan/.virtualenvs/production/bin/postactivate
cd /home/mayan/production
exec gunicorn -c /home/mayan/production/deploy/gunicorn.conf.py mayan.wsgi:application