Commit 07d4b1b2 by Jocelyn Delalande

lettravox: log stderr/stdout

parent 514faab3
......@@ -51,7 +51,7 @@
- name: install gunicorn
become: yes
become_user: '{{ lettravox_user }}'
pip: name=gunicorn virtualenv={{ lettravox_venv_dir }}
pip: name=gunicorn virtualenv={{ lettravox_venv_dir }} version=19.6
- name: set local_settings.py
become_user: '{{ lettravox_user }}'
......
[program:lettravox]
environment=DJANGO_SETTINGS_MODULE='settings'
directory={{ lettravox_install_dir }}
command={{ lettravox_venv_bin_path }}/gunicorn -b 127.0.0.1:{{ lettravox_gunicorn_port }} wsgi:application
command={{ lettravox_venv_bin_path }}/gunicorn -b 127.0.0.1:{{ lettravox_gunicorn_port }} --capture-output wsgi:application
user={{ lettravox_user }}
autostart=true
autorestart=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