From c1c162faeebe98c3f0d228c65c2c8ee3432cfce5 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff <50333926+prudloff-insite@users.noreply.github.com> Date: Sat, 24 Oct 2020 14:14:20 +0200 Subject: [PATCH] gitlab-ctl: add page (#4758) --- pages/common/gitlab-ctl.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/gitlab-ctl.md diff --git a/pages/common/gitlab-ctl.md b/pages/common/gitlab-ctl.md new file mode 100644 index 0000000000..00043fdd21 --- /dev/null +++ b/pages/common/gitlab-ctl.md @@ -0,0 +1,28 @@ +# gitlab-ctl + +> CLI tool for managing the GitLab omnibus. +> More information: . + +- 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}}`