File config.patch of Package gitaly

Index: gitaly/config.toml.example
===================================================================
--- gitaly.orig/config.toml.example
+++ gitaly/config.toml.example
@@ -2,10 +2,10 @@
 # Documentation lives at https://docs.gitlab.com/ee/administration/gitaly/ and
 # https://docs.gitlab.com/ee//administration/gitaly/reference
 
-socket_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket"
+socket_path = "/srv/www/vhosts/gitlab-ce/tmp/sockets/private/gitaly.socket"
 
 # The directory where Gitaly's executables are stored
-bin_dir = "/home/git/gitaly"
+bin_dir = "/usr/lib/gitlab/gitaly/bin/"
 
 # # Optional: listen on a TCP socket. This is insecure (no authentication)
 # listen_addr = "localhost:9999"
@@ -17,7 +17,7 @@ bin_dir = "/home/git/gitaly"
 # # Optional: configure where the Gitaly creates the sockets for internal connections. If unset, Gitaly will create a randomly
 # # named temp directory each time it boots.
 # # Non Gitaly clients should never connect to these sockets.
-# internal_socket_dir = "/home/git/gitlab/tmp/sockets/private/internal"
+internal_socket_dir = "/srv/www/vhosts/gitlab-ce/tmp/sockets/private/internal"
 
 # # Optional: authenticate Gitaly requests using a shared secret
 # [auth]
@@ -25,17 +25,17 @@ bin_dir = "/home/git/gitaly"
 # transitioning = false # Set `transitioning` to true to temporarily allow unauthenticated while rolling out authentication.
 
 # [tls]
-# certificate_path = '/home/git/cert.cert'
-# key_path = '/home/git/key.pem'
+# certificate_path = '/etc/gitaly/cert.cert'
+# key_path = '/etc/gitaly/key.pem'
 
 # # Git settings
-# [git]
-# bin_path = "/usr/bin/git"
+[git]
+bin_path = "/usr/bin/git"
 # catfile_cache_size = 100
 
 [[storage]]
 name = "default"
-path = "/home/git/repositories"
+path = "/srv/gitlab/repositories"
 
 # # You can optionally configure more storages for this Gitaly instance to serve up
 #
@@ -53,6 +53,9 @@ dir = "/home/git/gitlab/log"
 # # One of, in order: debug, info, warn, errror, fatal, panic
 # # Defaults to "info"
 # level = "warn"
+[logging]
+level = "warn"
+
 #
 # # Additionally exceptions from the Go server can be reported to Sentry
 # sentry_dsn = "https://<key>:<secret>@sentry.io/<project>"
@@ -65,7 +68,7 @@ dir = "/home/git/gitlab/log"
 
 [gitaly-ruby]
 # The directory where gitaly-ruby is installed
-dir = "/home/git/gitaly/ruby"
+dir = "/usr/lib/gitlab/gitaly/"
 
 # # Gitaly-ruby resident set size (RSS) that triggers a memory restart (bytes)
 # max_rss = 200000000
@@ -85,7 +88,7 @@ dir = "/home/git/gitaly/ruby"
 
 [gitlab-shell]
 # The directory where gitlab-shell is installed
-dir = "/home/git/gitlab-shell"
+dir = "/usr/lib/gitlab/shell"
 
 # # You can adjust the concurrency of each RPC endpoint
 # [[concurrency]]