File gitlab-shell-2.6.0_default_config.patch of Package gitlab-shell

Index: gitlab-shell-v14.3.0/config.yml.example
===================================================================
--- gitlab-shell-v14.3.0.orig/config.yml.example
+++ gitlab-shell-v14.3.0/config.yml.example
@@ -4,7 +4,7 @@
 #
 
 # GitLab user. git by default
-user: git
+user: gitlab
 
 # URL to GitLab instance, used for API calls. Default: http://localhost:8080.
 # For relative URL support read http://doc.gitlab.com/ce/install/relative_url.html
@@ -13,7 +13,8 @@ user: git
 # only listen on a Unix domain socket. For Unix domain sockets use
 # "http+unix://<urlquoted-path-to-socket>", e.g.
 # "http+unix://%2Fpath%2Fto%2Fsocket"
-gitlab_url: "http+unix://%2Fhome%2Fgit%2Fgitlab%2Ftmp%2Fsockets%2Fgitlab-workhorse.socket"
+#gitlab_url: "http://localhost:3003"
+gitlab_url: "http+unix://%2Fsrv%2Fwww%2Fvhosts%2Fgitlab-ce%2Ftmp%2Fsockets%2Fgitlab.socket"
 
 # When a http+unix:// is used in gitlab_url, this is the relative URL root to GitLab.
 # Not used if gitlab_url is http:// or https://.
@@ -29,7 +30,7 @@ http_settings:
 #
 
 # File used as authorized_keys for gitlab user
-auth_file: "/home/git/.ssh/authorized_keys"
+auth_file: "/srv/gitlab/.ssh/authorized_keys"
 
 # SSL certificate dir where custom certificates can be placed
 # https://golang.org/pkg/crypto/x509/
@@ -37,7 +38,7 @@ auth_file: "/home/git/.ssh/authorized_ke
 
 # File that contains the secret key for verifying access to GitLab.
 # Default is .gitlab_shell_secret in the gitlab-shell directory.
-# secret_file: "/home/git/gitlab-shell/.gitlab_shell_secret"
+secret_file: "/srv/www/vhosts/gitlab-ce/.gitlab_shell_secret"
 #
 # The secret field supersedes the secret_file, and if set that
 # file will not be read.
@@ -45,7 +46,7 @@ auth_file: "/home/git/.ssh/authorized_ke
 
 # Log file.
 # Default is gitlab-shell.log in the root directory.
-# log_file: "/home/git/gitlab-shell/gitlab-shell.log"
+log_file: "/srv/www/vhosts/gitlab-ce/log/gitlab-shell.log"
 
 # Log level. INFO by default
 log_level: INFO
openSUSE Build Service is sponsored by