--- a/roles/hgweb/defaults/main.yml Tue Jul 17 07:41:37 2018 +0800
+++ b/roles/hgweb/defaults/main.yml Tue Jul 17 13:40:48 2018 +0800
hgweb_mercurial_rev: stable
hgweb_evolve_url: https://www.mercurial-scm.org/repo/evolve
--- a/roles/hgweb/templates/etc/apache2/sites-available/hgweb.conf Tue Jul 17 07:41:37 2018 +0800
+++ b/roles/hgweb/templates/etc/apache2/sites-available/hgweb.conf Tue Jul 17 13:40:48 2018 +0800
WSGIScriptAlias / /home/{{ hgweb_user }}/hgwebfiles/hgweb.wsgi
- WSGIDaemonProcess hgweb user='{{ hgweb_user }}'
+ WSGIDaemonProcess hgweb user='{{ hgweb_user }}' processes={{ hgweb_workers }}
# home=/home/{{ hgweb_user }}/hgwebfiles/
# group='{{ hgweb_user }}'
- # processes=2 maximum-requests=100
Alias /static/ /home/{{ hgweb_user }}/hg/mercurial/templates/static/