Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.