Commit 053fb1d4 by John Jarvis

fixing undefined var gunicorn_port

parent 60ad6119
...@@ -11,11 +11,11 @@ respawn limit 3 30 ...@@ -11,11 +11,11 @@ respawn limit 3 30
env PID=/var/run/gunicorn/discern.pid env PID=/var/run/gunicorn/discern.pid
env WORKERS={{ ansible_processor_cores * 2 }} env WORKERS={{ ansible_processor_cores * 2 }}
env PORT={{ gunicorn_port }} env PORT={{ discern_gunicorn_port }}
env LANG=en_US.UTF-8 env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE={{discern_settings}} env DJANGO_SETTINGS_MODULE={{discern_settings}}
chdir {{discern_dir}} chdir {{discern_dir}}
setuid {{discern_user}} setuid {{discern_user}}
exec {{venv_dir}}/bin/gunicorn --preload -b 127.0.0.1:$PORT -w $WORKERS --timeout=30 --pythonpath={{discern_dir}} discern.wsgi exec {{venv_dir}}/bin/gunicorn --preload -b 127.0.0.1:$PORT -w $WORKERS --timeout=30 --pythonpath={{discern_dir}} discern.wsgi
\ No newline at end of file
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