Upgrade gunicorn run.

master
Nick Sergeant 2015-07-24 19:16:10 -04:00
parent b457bbc354
commit cd9149c296
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
web: gunicorn wsgi --log-file -
web: gunicorn wsgi:application --log-file -

View File

@ -1,7 +1,7 @@
[program:snipt]
directory=/var/www/snipt
user={{ pillar.deploy_user }}
command={% if pillar.env_name != 'vagrant' %}/var/www/.virtualenvs/snipt/bin/python /var/www/snipt/manage.py run_gunicorn -c /var/www/snipt/gunicorn.conf.py{% else %}/var/www/.virtualenvs/snipt/bin/python /var/www/snipt/manage.py runserver{% endif %}
command={% if pillar.env_name != 'vagrant' %}/var/www/.virtualenvs/snipt/bin/gunicorn wsgi:application{% else %}/var/www/.virtualenvs/snipt/bin/python /var/www/snipt/manage.py runserver{% endif %}
autostart=true
autorestart=true
stopasgroup=true