Skip to content
Snippets Groups Projects
Commit 8b2b3966 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Document the git_data_dir attribute

parent c655cc89
No related branches found
No related tags found
1 merge request!55Git Data Dir
Loading
Loading
@@ -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).
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment