So I am starting to install mailman3 and following the documentation and am up to the point of configuring the wsgi. The docsĀ give me a config to use (see below)
[uwsgi]
Port on which uwsgi will be listening.
http-socket = 0.0.0.0:8000
Move to the directory wher the django files are.
chdir = /path-to-django-project-directory/
Use the wsgi file provided with the django project.
wsgi-file = wsgi.py
Setup default number of processes and threads per process.
master = true process = 2 threads = 2
Drop privielges and don't run as root.
uid = 1000 gid = 1000
Setup the django_q related worker processes.
attach-daemon = ./manage.py qcluster
Setup the request log.
req-logger = file:/path-to-logs/logs/uwsgi.log
Log cron seperately.
logger = cron file:/path-to-logs/logs/uwsgi-cron.log log-route = cron uwsgi-cron
Log qcluster commands seperately.
logger = qcluster file:/path-to-logs/logs/uwsgi-qcluster.log log-route = qcluster uwsgi-daemons
Last log and it logs the rest of the stuff.
logger = file:/path-to-logs/logs/uwsgi-error.log
Where does this config go? Does in go in the mailman3.cfg?
Any help would be appreciated.
-- Richmond Loring rloring@bnl.gov Advanced Systems Engineer