It appears you're looking at the settings for your wsgi service (it may be not all those variables are necessary, I'm using uwsgi and it's missing some of those). That's it's own service separate from mailman; it exists as a middle man between the django (postorius/hyperkitty) and your webserver. I have a /etc/uwsgi.d/postorius.ini config like this (please note I'm using this with nginx instead of apache):
[uwsgi] uid = nginx gid = nginx plugin = python module = postorius.wsgi virtualenv = /opt/mailman/venv2/ wsgi-file = /opt/mailman/postorius/postorius/wsgi.py socket = /opt/mailman/%n.sock chmod-socket = 777 stats = 127.0.0.1:9191 pidfile = /opt/mailman/%n.pid daemonize = /var/log/uwsgi/%n.log logto = /var/log/uwsgi/%n_details.log master = true workers = 4 enable-threads = true vaccum = true
Sincerely,
Andrew Hodder Systems Administrator Support Operations, Afilias E-mail: drew@afilias.info Phone: +1 416.673.4164 Fax: +1 416.646.1541
On Thu, Oct 5, 2017 at 9:50 AM, Loring <rloring@bnl.gov> wrote:
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
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/