More Vagrant stuff.

master
Nick Sergeant 2014-10-31 16:23:42 -04:00
parent a35877dcb8
commit dd1377d690
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
bind = "0.0.0.0:8000"
bind = "127.0.0.1:8000"
daemon = False # Whether work in the background
debug = False # Some extra logging
logfile = ".gunicorn.log" # Name of the log file

View File

@ -4,4 +4,6 @@ user={{ pillar.deploy_user }}
command={% if pillar.env_name != 'vagrant' %}/var/www/.virtualenvs/snipt/bin/python manage.py run_gunicorn -c /var/www/snipt/gunicorn.conf.py{% else %}/var/www/.virtualenvs/snipt/bin/python manage.py runserver{% endif %}
autostart=true
autorestart=true
stopsignal=KILL
killasgroup=true
environment=NODE_ENV=production