mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
656 B
Plaintext
34 lines
656 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|