mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-03 23:26:58 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
27
roles/mailman/templates/uwsgi.ini.j2
Normal file
27
roles/mailman/templates/uwsgi.ini.j2
Normal file
@@ -0,0 +1,27 @@
|
||||
[uwsgi]
|
||||
http-socket = 0.0.0.0:{{ mailman_web_port }}
|
||||
virtualenv = {{ mailman_root_dir }}/venv/
|
||||
|
||||
module=mailman_web.wsgi:application
|
||||
env = DJANGO_SETTINGS_MODULE=settings
|
||||
|
||||
# Setup default number of processes and threads per process.
|
||||
master = true
|
||||
process = 2
|
||||
threads = 2
|
||||
|
||||
# Setup the django_q related worker processes.
|
||||
attach-daemon = mailman-web qcluster
|
||||
|
||||
# Setup the request log.
|
||||
req-logger = file:{{ mailman_root_dir }}/log/uwsgi.log
|
||||
|
||||
# Log qcluster commands seperately.
|
||||
logger = qcluster syslog:mailman-web
|
||||
log-route = qcluster uwsgi-daemons
|
||||
|
||||
# Last log and it logs the rest of the stuff.
|
||||
logger = syslog:mailman-web
|
||||
|
||||
# Static assets
|
||||
check-static = {{ mailman_root_dir }}/web
|
Reference in New Issue
Block a user