More Vagrant stuff.
parent
a35877dcb8
commit
dd1377d690
|
@ -1,4 +1,4 @@
|
||||||
bind = "0.0.0.0:8000"
|
bind = "127.0.0.1:8000"
|
||||||
daemon = False # Whether work in the background
|
daemon = False # Whether work in the background
|
||||||
debug = False # Some extra logging
|
debug = False # Some extra logging
|
||||||
logfile = ".gunicorn.log" # Name of the log file
|
logfile = ".gunicorn.log" # Name of the log 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 %}
|
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
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
|
stopsignal=KILL
|
||||||
|
killasgroup=true
|
||||||
environment=NODE_ENV=production
|
environment=NODE_ENV=production
|
||||||
|
|
Loading…
Reference in New Issue