Add `gitlab-ctl reload` or `gitlab-ctl graceful-restart`
The following discussion from !3641 (merged) should be addressed:
-
@jarv started a discussion: (+17 comments) Note that
gitlab-ctl hup unicorndoes not actually send aHUP, but rather translates it into aUSR1https://gitlab.com/gitlab-org/omnibus-gitlab/blob/30cd830b631ce692dd1fbe55f216adf16533a92a/files/gitlab-scripts/gitlab-unicorn-wrapper#L123-126We may want to clarify that here.
Proposal
Make the following changes:
- Change behavior of
gitlab-ctl restartto be a real restart, - Add
gitlab-ctl reloadto be a something that reasembles graceful reload where possible, - Update our zero-downtime documentation to refer to usage of
gitlab-ctl reloadeverywhere, and make service change due togitlab-ctl reconfigureto usegitlab-ctl reloadinstead ofrestart
Edited by Kamil Trzciński