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

33 lines
1,013 B
Diff
Raw Normal View History

diff --git a/config.toml.example b/config.toml.example
index 5fe3942..dd78c46 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"
# # Optional: listen on a TCP socket. This is insecure (no authentication)
# listen_addr = "localhost:9999"
@@ -16,7 +16,7 @@ socket_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket"
[[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
#
@@ -37,8 +37,8 @@ path = "/home/git/repositories"
[gitaly-ruby]
# The directory where gitaly-ruby is installed
-dir = "/home/git/gitaly/ruby"
+dir = "/var/lib/gitlab-gitaly/ruby"
[gitlab-shell]
# The directory where gitlab-shell is installed
-dir = "/home/git/gitlab-shell"
+dir = "/var/lib/gitlab-shell"