Commit a0c2977d authored by Sergio Alonso's avatar Sergio Alonso

gunicorn: remove settings from command line

parent 410ef2fc
"""Gunicorn settings."""
env = "DJANGO_SETTINGS_MODULE=educational_heritage.settings.local"
bind = "0.0.0.0:8000"
workers = 5
# Asynchronous workers
worker_class = "eventlet"
......@@ -2,7 +2,8 @@
nodaemon=true
[program:gunicorn]
command="/usr/local/bin/gunicorn --env DJANGO_SETTINGS_MODULE=educational_heritage.settings.local educational_heritage.wsgi --config=gunicorn.py"
command="/usr/local/bin/gunicorn --config=gunicorn.py educational_heritage.wsgi"
#command="/usr/local/bin/gunicorn --access-logfile - --workers 5 --env DJANGO_SETTINGS_MODULE=educational_heritage.settings.local educational_heritage.wsgi --config=gunicorn.py --log-level=debug --max-requests 1000 --timeout 28 --preload"
directory=/code
user=nobody
autostart=true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment