49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
--- config.toml.example.orig 2018-12-10 17:27:53 UTC
|
|
+++ config.toml.example
|
|
@@ -1,9 +1,9 @@
|
|
# Example Gitaly configuration file
|
|
|
|
-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"
|
|
@@ -22,12 +22,12 @@ bin_dir = "/home/git/gitaly"
|
|
# key_path = '/home/git/key.pem'
|
|
|
|
# # Git executable settings
|
|
-# [git]
|
|
-# bin_path = "/usr/bin/git"
|
|
+[git]
|
|
+bin_path = "%%PREFIX%%/bin/git"
|
|
|
|
[[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
|
|
#
|
|
@@ -55,7 +55,7 @@ path = "/home/git/repositories"
|
|
|
|
[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
|
|
@@ -71,7 +71,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]]
|