1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/aurweb/templates/cgit.ini.j2
Giancarlo Razzolini 35e5a8a44e
roles/aurweb: cgit and smartgit changes
Added a smartgit_socket option to the defaults. Reworked the tasks package
installation to look cleaner and also separated the cgit and git package installations
so we can trigger uwsgi reloads on updates. Changed the tubylaws repo update variable
to trigger the bylaws changes only when the tubylaws repository change, not the aurweb
one. Added tasks to install the apcu configuration, cgit uwsgi ini file, cgit rc file and
smartgit uwsgi ini file. Trigger an uwsgi reload in case the cgit-aurweb or git packages
change. Also added a few missing options to the aurweb configuration file. Rework the nginx
configuration file to use the cgit and smartgit uwsgi services.
2020-07-23 11:03:40 -03:00

12 lines
243 B
Django/Jinja

[uwsgi]
plugins = cgi
socket = {{ cgit_socket }}
chown-socket = {{ aurweb_user }}:http
chmod-socket = 770
threads = 4
daemonize = /var/log/uwsgi/cgit-aurweb.log
cgi = /usr/share/webapps/cgit-aurweb/cgit.cgi
uid = {{ aurweb_user }}
gid = http