mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 23:47:05 +00:00
Update cheatsheets
This commit is contained in:
33
gitlab-ctl
Normal file
33
gitlab-ctl
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user