gentoo-overlay/www-servers/gitlab-gitaly/files/0002-gitlab-gitaly-0.59.2-fix-config.toml.example.patch
Manuel Friedli 00ee668c74 www-servers/gitlab-gitaly:
Add ebuild for version 0.59.2.

Package-Manager: Portage-2.3.19, Repoman-2.3.6
2018-02-18 00:07:33 +01:00

40 lines
1.2 KiB
Diff

diff --git a/config.toml.example b/config.toml.example
index 10f8cce..09add0c 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -1,6 +1,6 @@
# Example Gitaly configuration file
-socket_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket"
+socket_path = "/run/gitlab/sockets/gitaly.socket"
# The directory where Gitaly's executables are stored
bin_dir = "/home/git/gitaly"
@@ -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]]