diff options
author | 2007-11-29 00:40:34 +0200 | |
---|---|---|
committer | 2007-11-29 00:40:34 +0200 | |
commit | 2078a0c828a064d0e12eed9110c3f71237a3d022 (patch) | |
tree | 73f85e3d7b887241e78508f253cfbac9e317ec01 /gitweb.conf | |
parent | Add instructions for using gitweb. (diff) | |
download | gitosis-gentoo-2078a0c828a064d0e12eed9110c3f71237a3d022.tar.gz gitosis-gentoo-2078a0c828a064d0e12eed9110c3f71237a3d022.tar.bz2 gitosis-gentoo-2078a0c828a064d0e12eed9110c3f71237a3d022.zip |
Write gitweb projects.list to ~/gitosis, not inside the gitosis-admin repo.
This allows running gitweb as a separate user without needing to allow it
read access to gitosis-admin.git. Running as separate user will still most
likely require a ``chgrp www-data`` of the relevant repositories, but
nothing not already decided public needs to be exposed.
Existing gitweb users will need to adjust their gitweb.conf to point to
the new location of the projects.list file.
Removing the old projects.list from
~git/repositories/gitosis-admin.git/projects.list is safe once gitweb
has switched to using the new location.
Diffstat (limited to 'gitweb.conf')
-rw-r--r-- | gitweb.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb.conf b/gitweb.conf index 83cde79..8fb62d1 100644 --- a/gitweb.conf +++ b/gitweb.conf @@ -4,7 +4,7 @@ do "/etc/gitweb.conf" if -e "/etc/gitweb.conf"; # Point to projects.list file generated by gitosis. # Here gitosis manages the user "git", who has a # home directory of /srv/example.com/git -$projects_list = "/srv/example.com/git/repositories/gitosis-admin.git/projects.list"; +$projects_list = "/srv/example.com/git/gitosis/projects.list"; # Where the actual repositories are located. $projectroot = "/srv/example.com/git/repositories"; |