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