Skip to content

Instantly share code, notes, and snippets.

@alces
Last active November 1, 2017 12:58
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save alces/1df5a0692174b6a3e557 to your computer and use it in GitHub Desktop.
How to completely stop all the gitlab's processes

To stop all the gitlab-related processes (e.g. for moving gitlab to another node while running it on top of HA-cluster) run the following two commands as root (strictly in that sequence):

gitlab-ctl stop
/sbin/stop gitlab-runsvdir

After such a full stopping gitlab couldn't be run again by conventional gitlab-ctl start. Although gitlab-ctl reconfigure would work fine in such a case,

/sbin/start gitlab-runsvdir

is a lot simpler way to get gitlab started after stopping gitlab-runsvdir service.


Tested against gitlab-ce-8.0.4 on RHEL 6.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment