From 8b2b3966b3d8feab4309c42e217ee0e4e7dcb431 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Tue, 25 Feb 2014 18:15:55 +0100 Subject: [PATCH] Document the git_data_dir attribute --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index bcf1e1d..48d08d0 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,17 @@ Omnibus-gitlab uses four different directories. - `/var/log/gitlab` contains all log data generated by components of omnibus-gitlab. +### Storing Git data in an alternative directory + +By default, omnibus-gitlab stores Git repository data in `/var/opt/gitlab/git-data`. +You can change this location by adding the following line to `/etc/gitlab/gitlab.rb`. + +```ruby +git_data_dir "/mnt/nas/gitlab" +``` + +Run `sudo gitlab-ctl reconfigure` for the change to take effect. + ## Building your own package See [the separate build documentation](doc/build.md). -- libgit2 0.21.2