Difference between revisions of "Check gitlab status.sh"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
 
  #!/bin/bash
 
  #!/bin/bash
 
  [[gitlab-ctl status]]
 
  [[gitlab-ctl status]]
Line 5: Line 6:
 
  curl -s http://localhost/-/readiness | [[jq]]
 
  curl -s http://localhost/-/readiness | [[jq]]
 
  curl -s http://localhost/-/liveness | [[jq]]
 
  curl -s http://localhost/-/liveness | [[jq]]
 +
 +
# gitlab-rake gitlab:check may take a minute
 +
[[gitlab-rake gitlab:check]]
  
 
== Related ==
 
== Related ==
 
* [[Upgrade GitLab]]
 
* [[Upgrade GitLab]]
 +
* [[GitLab logs]]
 +
* <code>[[gitlab-ctl status]]</code>
 +
* <code>[[gitlab-ctl restart]]</code>
  
 
== See also ==
 
== See also ==
* {{GitLab}}
+
* {{Upgrade GitLab}}
  
 
[[Category:GitLab]]
 
[[Category:GitLab]]

Latest revision as of 21:41, 2 October 2022

Advertising: