More Vagrant stuff.
parent
dd1377d690
commit
6071324ed1
|
@ -1,9 +1,7 @@
|
|||
[program:snipt]
|
||||
directory=/var/www/snipt
|
||||
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 /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 %}
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopsignal=KILL
|
||||
killasgroup=true
|
||||
environment=NODE_ENV=production
|
||||
stopasgroup=true
|
||||
|
|
Loading…
Reference in New Issue