Skip to content

Adds gitlab-wrapper to praefect runit service

Craig Miskell requested to merge make-praefect-use-gitaly-wrapper into master

praefect has tableflip (just like gitaly) to allow seamless restarts, but to take full advantage we need to use gitaly-wrapper so that runit doesn't get all huffy about PIDs changing (c.f. https://gitlab.com/gitlab-org/gitaly/-/blob/master/cmd/gitaly-wrapper/README.md)

Did a little refactoring to try and keep things DRY, but I'm not 100% confident in the style choices I made (e.g. the helper method naming + passing of 'node', and so on). Very open to recommendations for making it nicer.

Merge request reports