summaryrefslogtreecommitdiff
path: root/doc/raketasks/cleanup.md
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-06-23 10:38:22 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-06-23 10:38:22 +0200
commitffece96dd13fc99e24d65f2a374572c218c1f892 (patch)
tree5c965cd879f5472f515e6657d5618a3c6bd0d319 /doc/raketasks/cleanup.md
parent73c1030da1318284495288461210e8d145aa7181 (diff)
downloadgitlab-ce-ffece96dd13fc99e24d65f2a374572c218c1f892.tar.gz
Spell out rake tasks for omnibus-gitlab
Diffstat (limited to 'doc/raketasks/cleanup.md')
-rw-r--r--doc/raketasks/cleanup.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/raketasks/cleanup.md b/doc/raketasks/cleanup.md
index 4b3b6d71a75..9e48f56c951 100644
--- a/doc/raketasks/cleanup.md
+++ b/doc/raketasks/cleanup.md
@@ -5,11 +5,19 @@
Remove namespaces(dirs) from `/home/git/repositories` if they don't exist in GitLab database.
```
+# omnibus-gitlab
+sudo gitlab-rake gitlab:cleanup:dirs
+
+# installation from source or cookbook
bundle exec rake gitlab:cleanup:dirs RAILS_ENV=production
```
Remove repositories (global only for now) from `/home/git/repositories` if they don't exist in GitLab database.
```
+# omnibus-gitlab
+sudo gitlab-rake gitlab:cleanup:repos
+
+# installation from source or cookbook
bundle exec rake gitlab:cleanup:repos RAILS_ENV=production
```