seperate out gunicorn sockets

This commit is contained in:
Oliver Marks 2017-02-25 12:20:34 +00:00
parent 1be40b5426
commit 5670dcd446
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/bin/sh
python /app/manage.py collectstatic --noinput
python /app/manage.py compilescss
/usr/local/bin/gunicorn config.wsgi -w 4 -b unix:/data/sockets/live-gunicorn-mhackspace.sock --error-logfile /var/log/gunicorn/live-gunicorn-mhackspace.log --chdir=/app

View File

@ -0,0 +1,5 @@
#!/bin/sh
python /app/manage.py collectstatic --noinput
python /app/manage.py compilescss
/usr/local/bin/gunicorn config.wsgi -w 4 -b unix:/data/sockets/stage-gunicorn-mhackpace.sock --error-logfile /var/log/gunicorn/stage-gunicorn-mhackspace.log --chdir=/app