aboutsummaryrefslogtreecommitdiff
path: root/devel/gitaly/files/patch-config.toml.example
blob: 595b641659c9e0c7d0df7a2a6fd1b536c40a4878 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
--- config.toml.example.orig	2019-11-18 19:41:52 UTC
+++ config.toml.example
@@ -2,10 +2,10 @@
 # Documentation lives at https://docs.gitlab.com/ee/administration/gitaly/ and
 # https://docs.gitlab.com/ee//administration/gitaly/reference
 
-socket_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket"
+socket_path = "%%PREFIX%%/www/gitlab-ce/tmp/sockets/private/gitaly.socket"
 
 # The directory where Gitaly's executables are stored
-bin_dir = "/home/git/gitaly"
+bin_dir = "%%PREFIX%%/share/gitaly/bin/"
 
 # # Optional: listen on a TCP socket. This is insecure (no authentication)
 # listen_addr = "localhost:9999"
@@ -24,13 +24,13 @@ bin_dir = "/home/git/gitaly"
 # key_path = '/home/git/key.pem'
 
 # # Git settings
-# [git]
-# bin_path = "/usr/bin/git"
+[git]
+bin_path = "%%PREFIX%%/bin/git"
 # catfile_cache_size = 100
 
 [[storage]]
 name = "default"
-path = "/home/git/repositories"
+path = "/usr/local/git/repositories"
 
 # # You can optionally configure more storages for this Gitaly instance to serve up
 #
@@ -60,7 +60,7 @@ dir = "/home/git/gitlab/log"
 
 [gitaly-ruby]
 # The directory where gitaly-ruby is installed
-dir = "/home/git/gitaly/ruby"
+dir = "%%PREFIX%%/share/gitaly/ruby"
 
 # # Gitaly-ruby resident set size (RSS) that triggers a memory restart (bytes)
 # max_rss = 200000000
@@ -80,7 +80,7 @@ dir = "/home/git/gitaly/ruby"
 
 [gitlab-shell]
 # The directory where gitlab-shell is installed
-dir = "/home/git/gitlab-shell"
+dir = "%%PREFIX%%/share/gitlab-shell"
 
 # # You can adjust the concurrency of each RPC endpoint
 # [[concurrency]]