Skip to content

Add signal handler for ruby socket cleanup on shutdown

Jacob Vosmaer (GitLab) requested to merge shutdown-handler into master

Closes https://gitlab.com/gitlab-org/gitaly/issues/490

Catch SIGTERM (runit, Omnibus) and SIGINT (foreman, GDK).

Fixes rubyserver cleanup so that the socket directory in /tmp is removed.

Edited by Jacob Vosmaer (GitLab)

Merge request reports