Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2019-11-20 02:23:12 +0300
committerjramsay <jcai@gitlab.com>2019-11-27 05:06:32 +0300
commit98c8ee4518ddd8d0d377915edc946e6d5010d658 (patch)
tree9932a0826248ab5ea1210e0c242b9bc1bf7fec15 /internal/bootstrap
parent1332007de9a21540582ed752dd664382369eaca9 (diff)
Generalize internal gitaly socket dir
Both gitaly-ruby and gitaly hooks will need the gitaly internal socket directory, so we can pull it out into the config package. Also this change starts an internal gitaly socket that listens for connections.
Diffstat (limited to 'internal/bootstrap')
-rw-r--r--internal/bootstrap/server_factory.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/bootstrap/server_factory.go b/internal/bootstrap/server_factory.go
index ca6d870d1..c754fbf53 100644
--- a/internal/bootstrap/server_factory.go
+++ b/internal/bootstrap/server_factory.go
@@ -39,6 +39,7 @@ func (s *GitalyServerFactory) Stop() {
}
s.ruby.Stop()
+ server.CleanupInternalSocketDir()
}
// GracefulStop stops both the secure and insecure servers gracefully