LinuxCommandLibrary

gitlab-ctl

Control Omnibus GitLab services

TLDR

Start GitLab

$ sudo gitlab-ctl start
copy
Stop GitLab
$ sudo gitlab-ctl stop
copy
Restart GitLab
$ sudo gitlab-ctl restart
copy
Show status
$ sudo gitlab-ctl status
copy
Reconfigure GitLab
$ sudo gitlab-ctl reconfigure
copy
View logs
$ sudo gitlab-ctl tail
copy
View specific service logs
$ sudo gitlab-ctl tail [nginx]
copy

SYNOPSIS

gitlab-ctl command [options]

DESCRIPTION

gitlab-ctl controls an Omnibus GitLab installation. It manages all GitLab services (nginx, PostgreSQL, Redis, Puma, Sidekiq, etc.), applies configuration changes from `/etc/gitlab/gitlab.rb`, and provides debugging tools.
The `reconfigure` command is used after modifying `gitlab.rb` to apply the new settings.

CONFIGURATION

/etc/gitlab/gitlab.rb

Main configuration file for the Omnibus GitLab installation, controlling all services and settings.

SUBCOMMANDS

start

Start all services.
stop
Stop all services.
restart
Restart all services.
status
Show service status.
reconfigure
Apply configuration.
tail
View logs.
hup
Send HUP signal.
console
Rails console.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community