summaryrefslogtreecommitdiff
path: root/doc/install
diff options
context:
space:
mode:
Diffstat (limited to 'doc/install')
-rw-r--r--doc/install/installation.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 7a0b4e1f934..5ad8392fb63 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -244,6 +244,10 @@ GitLab Shell is an SSH access and repository management software developed speci
# When done you see 'Administrator account created:'
+**Note:** You can set the Administrator password by supplying it in environmental variable `GITLAB_ROOT_PASSWORD`, eg.:
+
+ sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production GITLAB_ROOT_PASSWORD=newpassword
+
### Install Init Script
Download the init script (will be `/etc/init.d/gitlab`):