gitlab-ctl: add page (#4758)

beep
Pierre Rudloff 2020-10-24 14:14:20 +02:00 committed by GitHub
parent 90a3a2e1c7
commit c1c162faee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# gitlab-ctl
> CLI tool for managing 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}}`