gentoo-overlay/www-servers/gitlab-gitaly/files/0002-gitlab-gitaly-0.66.0-fix-config.toml.example.patch

44 lines
1.3 KiB
Diff
Raw Normal View History

diff --git a/config.toml.example b/config.toml.example
index 10f8cce..f65b5b9 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -1,9 +1,9 @@
# Example Gitaly configuration file
-socket_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket"
+socket_path = "/run/gitlab/gitaly.socket"
# The directory where Gitaly's executables are stored
-bin_dir = "/home/git/gitaly"
+bin_dir = "/usr/bin"
# # Optional: listen on a TCP socket. This is insecure (no authentication)
# listen_addr = "localhost:9999"
@@ -19,7 +19,7 @@ bin_dir = "/home/git/gitaly"
[[storage]]
name = "default"
-path = "/home/git/repositories"
+path = "/var/lib/git/repositories"
# # You can optionally configure more storages for this Gitaly instance to serve up
#
@@ -40,7 +40,7 @@ path = "/home/git/repositories"
[gitaly-ruby]
# The directory where gitaly-ruby is installed
-dir = "/home/git/gitaly/ruby"
+dir = "/var/lib/gitlab-gitaly/ruby"
# # Gitaly-ruby resident set size (RSS) that triggers a memory restart (bytes)
# max_rss = 300000000
@@ -53,7 +53,7 @@ dir = "/home/git/gitaly/ruby"
[gitlab-shell]
# The directory where gitlab-shell is installed
-dir = "/home/git/gitlab-shell"
+dir = "/usr/share/gitlab-shell"
# # You can adjust the concurrency of each RPC endpoint
# [[concurrency]]