1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 12:42:07 +02:00
tldr/pages/common/gitlab-ctl.md
Lena 7ca1069d76
pages/*: reword descriptions without using "a CLI for" etc. (#10437)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-07-16 19:23:40 +02:00

563 B

gitlab-ctl

Manage the GitLab omnibus. More information: https://docs.gitlab.com/omnibus/maintenance/.

  • Display the status of every service:

sudo gitlab-ctl status

  • Display the status of a specific service:

sudo gitlab-ctl status {{nginx}}

  • Restart every service:

sudo gitlab-ctl restart

  • Restart a specific service:

sudo gitlab-ctl restart {{nginx}}

  • Display the logs of every service and keep reading until Ctrl + C is pressed:

sudo gitlab-ctl tail

  • Display the logs of a specific service:

sudo gitlab-ctl tail {{nginx}}