Commit bb6e7552 authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

gitlab-shell: use socket instead of port

parent 7d9c2498
--- ./config.yml.example
+++ ./config.yml.example
@@ -13,7 +13,7 @@ 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://localhost:8080"
+gitlab_url: "http+unix://%2Fhome%2Fgit%2Fgitlab%2Ftmp%2Fsockets%2Fgitlab.socket"
# See installation.md#using-https for additional HTTPS configuration details.
http_settings:
@@ -37,7 +37,7 @@ auth_file: "/home/git/.ssh/authorized_keys"
# Log file.
......
......@@ -117,7 +117,7 @@ GITLAB_SHELL_VERSION=$(cat "$gitlab_location"/GITLAB_SHELL_VERSION)
get_source gitlab-shell $GITLAB_SHELL_VERSION
mv /home/git/src/gitlab-shell-v$GITLAB_SHELL_VERSION /home/git/gitlab-shell
cd /home/git/gitlab-shell
patch -p0 -i /tmp/gitlab-shell/gitlab-shell-logfile.patch
patch -p0 -i /tmp/gitlab-shell/gitlab-shell-changes.patch
install -Dm644 config.yml.example "$gitlab_location"/gitlab-shell/config.yml
ln -sf "$gitlab_location"/gitlab-shell/config.yml config.yml
./bin/compile && ./bin/install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment