From bbfac4101eaaa27a053560cb9cadfe5e807c12da Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 15 May 2018 20:16:14 +0800 Subject: git: configure gitolite with cgit --- roles/git/templates/cgit/cgitrc.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'roles/git/templates') diff --git a/roles/git/templates/cgit/cgitrc.j2 b/roles/git/templates/cgit/cgitrc.j2 index f0d83fc..da5f33f 100644 --- a/roles/git/templates/cgit/cgitrc.j2 +++ b/roles/git/templates/cgit/cgitrc.j2 @@ -128,5 +128,8 @@ readme=:install # NOTE: only the global settings before this directive will be # applied to each repository. -scan-path={{ git.user.home }}/{{ git.public_dir }} +project-list={{ git.user.home }}/projects.list +scan-path={{ git.user.home }}/repositories + +# EOF -- cgit v1.2.2