--- a/roles/hgweb/tasks/appinstall.yml Sat Jun 09 15:14:44 2018 +0800
+++ b/roles/hgweb/tasks/appinstall.yml Sun Sep 27 18:59:01 2020 +0800
--- a/roles/hgweb/templates/etc/supervisor/conf.d/hgweb.conf Sat Jun 09 15:14:44 2018 +0800
+++ b/roles/hgweb/templates/etc/supervisor/conf.d/hgweb.conf Sun Sep 27 18:59:01 2020 +0800
-command = /home/{{ hgweb_user }}/hgwebfiles/venv/bin/gunicorn --config=/home/{{ hgweb_user }}/hgwebfiles/gunicorn.conf hgweb:application
+command = /home/{{ hgweb_user }}/hgwebfiles/venv/bin/gunicorn --config=/home/{{ hgweb_user }}/hgwebfiles/gunicorn.conf.py hgweb:application
directory = /home/{{ hgweb_user }}/hgwebfiles/
--- a/roles/hgweb/templates/gunicorn.conf Sat Jun 09 15:14:44 2018 +0800
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
-bind = 'unix:/home/{{ hgweb_user }}/hgwebfiles/socket'
-workers = {{ hgweb_workers }}
-worker_class = 'eventlet'
-timeout = 30 # set to bigger values for serving bigger repos
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/hgweb/templates/gunicorn.conf.py Sun Sep 27 18:59:01 2020 +0800
+bind = 'unix:/home/{{ hgweb_user }}/hgwebfiles/socket'
+workers = {{ hgweb_workers }}
+worker_class = 'eventlet'
+timeout = 30 # set to bigger values for serving bigger repos