Files @ bf96a77e88ab
Branch filter:

Location: majic-ansible-roles/roles/wsgi_website/templates/supervisor_site.conf.j2 - annotation

branko
MAR-100: Configure mail server name for mails coming from the local server via /etc/mailname. Make sure the configured name is equivalent to the full hostname specified in ansible inventory.
[program:{{ fqdn }}]
command={{ home }}/virtualenv/bin/gunicorn --bind unix:/var/run/wsgi/{{ fqdn }}/socket {% if use_paste %}--paste{% endif %} {{ wsgi_application }}
directory={{ home }}/code
user={{ user }}
group={{ user }}
autostart=true
autorestart=true
umask=0007
redirect_stderr=true
environment=HOME="{{ home }}"