mercurial/web/templates/hgweb.ini.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 16 Nov 2020 16:42:59 -0600
changeset 143 7d4a477be685
parent 129 7ced28b4207c
child 195 da34c8d7511d
permissions -rw-r--r--
Updated pleroma to 2.2.0 and added new dep.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56
59e94b4a91a2 Added mercurial web hosting
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
[uwsgi]
59e94b4a91a2 Added mercurial web hosting
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
processes = 2
129
7ced28b4207c Added worker restats for uwsgi to reduce memory runaway.
Luke Hoersten <luke@hoersten.org>
parents: 56
diff changeset
     3
max-requests = 10240
7ced28b4207c Added worker restats for uwsgi to reduce memory runaway.
Luke Hoersten <luke@hoersten.org>
parents: 56
diff changeset
     4
max-requests-delta = 1024
7ced28b4207c Added worker restats for uwsgi to reduce memory runaway.
Luke Hoersten <luke@hoersten.org>
parents: 56
diff changeset
     5
max-worker-lifetime = 604800
56
59e94b4a91a2 Added mercurial web hosting
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
socket = unix:/run/uwsgi/app/hgweb/socket
59e94b4a91a2 Added mercurial web hosting
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
chdir = {{mercurial_uwsgi_root}}
59e94b4a91a2 Added mercurial web hosting
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
wsgi-file = hgweb.wsgi
59e94b4a91a2 Added mercurial web hosting
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
uid = www-data
59e94b4a91a2 Added mercurial web hosting
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
gid = www-data
59e94b4a91a2 Added mercurial web hosting
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
plugins = python3