diff options
author | John Cai <jcai@gitlab.com> | 2019-11-20 02:23:12 +0300 |
---|---|---|
committer | jramsay <jcai@gitlab.com> | 2019-11-27 05:06:32 +0300 |
commit | 98c8ee4518ddd8d0d377915edc946e6d5010d658 (patch) | |
tree | 9932a0826248ab5ea1210e0c242b9bc1bf7fec15 /internal/bootstrap | |
parent | 1332007de9a21540582ed752dd664382369eaca9 (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.go | 1 |
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 |