Files
cheatsheet-tldr/gitlab-ctl
2024-02-21 11:19:49 +00:00

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}}`