Files @ 01f4b619cfa6
Branch filter:

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

branko
MAR-27: Update mail_forwarder role/tests:

- Install swaks on mail-server instance for testing SMTP.
- Install procmail via mail_forwarder role (needed to be explicit for Debian
Stretch).
- Introduce small sleep when mails are sent to localhost for delivery to remote
hosts before checking the logs in order to allow Postfix to process the
queue.
[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 }}"