LinuxCommandLibrary

gitlab-ctl

CLI tool for managing the GitLab omnibus.

TLDR

Display the status of every service

$ sudo gitlab-ctl status
copy


Display the status of a specific service
$ sudo gitlab-ctl status [nginx]
copy


Restart every service
$ sudo gitlab-ctl restart
copy


Restart a specific service
$ sudo gitlab-ctl restart [nginx]
copy


Display the logs of every service and keep reading until Ctrl + C is pressed
$ sudo gitlab-ctl tail
copy


Display the logs of a specific service
$ sudo gitlab-ctl tail [nginx]
copy

Copied to clipboard