2020-10-24 13:14:20 +01:00
|
|
|
# gitlab-ctl
|
|
|
|
|
2023-07-16 18:23:40 +01:00
|
|
|
> Manage the GitLab omnibus.
|
2020-10-24 13:14:20 +01:00
|
|
|
> 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}}`
|