Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-12-13 20:28:04 +0300
committerRémy Coutable <remy@rymai.me>2017-12-13 20:28:04 +0300
commit4fe92b1de16469e0f8534d7c85d3e8b5c868b558 (patch)
tree75e42f706b6c5a0a926b08822b19ee7de0b447a1 /doc/administration
parent013e681625ada14ba977c5a66ab104924a9fdce6 (diff)
parentab4fa64308176cc069e6a731d35a53c886af805e (diff)
Merge branch 'add-tcp-check-rake-task' into 'master'
Add a gitlab:tcp_check rake task See merge request gitlab-org/gitlab-ce!15759
Diffstat (limited to 'doc/administration')
-rw-r--r--doc/administration/raketasks/maintenance.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/administration/raketasks/maintenance.md b/doc/administration/raketasks/maintenance.md
index 136192191f9..ecf92c379fd 100644
--- a/doc/administration/raketasks/maintenance.md
+++ b/doc/administration/raketasks/maintenance.md
@@ -221,3 +221,22 @@ sudo gitlab-rake gitlab:shell:create_hooks
cd /home/git/gitlab
sudo -u git -H bundle exec rake gitlab:shell:create_hooks RAILS_ENV=production
```
+
+## Check TCP connectivity to a remote site
+
+Sometimes you need to know if your GitLab installation can connect to a TCP
+service on another machine - perhaps a PostgreSQL or HTTPS server. A rake task
+is included to help you with this:
+
+**Omnibus Installation**
+
+```
+sudo gitlab-rake gitlab:tcp_check[example.com,80]
+```
+
+**Source Installation**
+
+```
+cd /home/git/gitlab
+sudo -u git -H bundle exec rake gitlab:tcp_check[example.com,80] RAILS_ENV=production
+```