aboutsummaryrefslogtreecommitdiff
path: root/devel/gitaly/files/patch-config.toml.example
blob: a2098b52a366a47a3816ce07be279443ec2ad98e (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
--- config.toml.example.orig	2024-01-17 10:05:29 UTC
+++ config.toml.example
@@ -2,10 +2,10 @@
 # For Gitaly documentation, see https://docs.gitlab.com/ee/administration/gitaly/.
 
 # A path which Gitaly should open a Unix socket.
-socket_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket"
+socket_path = "%%PREFIX%%/www/gitlab-ce/tmp/sockets/private/gitaly.socket"
 
 # Directory containing Gitaly executables.
-bin_dir = "/home/git/gitaly/_build/bin"
+bin_dir = "%%PREFIX%%/share/gitaly/bin/"
 
 # # Optional. The directory where Gitaly can create all files required to
 # # properly operate at runtime. If not set, Gitaly will create a directory in
@@ -40,9 +40,9 @@ bin_dir = "/home/git/gitaly/_build/bin"
 # key_path = '/home/git/key.pem'
 
 # # Git settings
-# [git]
-# # Path to Git binary. If not set, is resolved using PATH.
-# bin_path = "/usr/bin/git"
+[git]
+# Path to Git binary. If not set, is resolved using PATH.
+bin_path = "%%PREFIX%%/bin/git"
 # # Maximum number of cached 'cat-file' processes, which constitute a pair of 'git cat-file --batch' and
 # # 'git cat-file --batch-check' processes. Defaults to '100'.
 # catfile_cache_size = 100
@@ -58,7 +58,7 @@ bin_dir = "/home/git/gitaly/_build/bin"
 # # The name of the storage
 name = "default"
 # # The path to the storage.
-path = "/home/git/repositories"
+path = "%%PREFIX%%/git/repositories"
 
 # # You can optionally configure more storages for this Gitaly instance to serve up
 #
@@ -68,9 +68,9 @@ path = "/home/git/repositories"
 #
 
 # # Optional. Configure Gitaly to output JSON-formatted log messages to stdout.
-# [logging]
-# # Directory where Gitaly stores extra log files.
-dir = "/home/git/gitlab/log"
+[logging]
+# Directory where Gitaly stores extra log files.
+dir = "%%PREFIX%%/www/gitlab-ce/log"
 # # Log format. Either 'text' or 'json'.
 # format = "json"
 # # Optional. Set log level to only log entries with that severity or above.
@@ -91,18 +91,18 @@ sentry_environment = ""
 # # Custom Git hooks that are used to perform tasks based on changes performed in any repository.
 [hooks]
 # # Directory where custom Git hooks are installed. If left unset, no custom hooks are used.
-custom_hooks_dir = "/home/git/custom_hooks"
+custom_hooks_dir = "%%PREFIX%%/git/custom_hooks"
 
 # # Gitaly must connect to the GitLab application to perform access checks when a user performs a change.
 [gitlab]
 # # URL of the GitLab server.
-url = "http+unix://%2Fhome%2Fgit%2Fgitlab%2Ftmp%2Fsockets%2Fgitlab-workhorse.socket"
+url = "http+unix://%2Fusr%2Flocal%2Fwww%2Fgitlab-ce%2Ftmp%2Fsockets%2Fgitlab-workhorse.socket"
 # # 'relative_url_root' is only needed if a UNIX socket is used in 'url' and GitLab is configured to
 # # use a relative path. For example, '/gitlab'.
 # relative_url_root = '/'
 # # Path of the file containing the secret token used to authenticate with GitLab. Use either 'secret_token' or 'secret'
 # # but not both.
-secret_file = "/home/git/gitlab-shell/.gitlab_shell_secret"
+secret_file = "%%PREFIX%%/share/gitlab-shell/.gitlab_shell_secret"
 # # Secret token used to authenticate with GitLab.
 # secret = ""