Commit d6ab5ad3066995e1013dfb18707304c911f0a7c0

Authored by Yves Senn
2 parents 7588186e 0c4fd05d

Merge pull request #4482 from kivlor/patch-1

move 'make config/database.yml readable to git only' instruction
Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
doc/install/installation.md
... ... @@ -173,9 +173,6 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version,
173 173 # Create directory for satellites
174 174 sudo -u git -H mkdir /home/git/gitlab-satellites
175 175  
176   - # Make config/database.yml readable to git only
177   - sudo -u git -H chmod o-rwx config/database.yml
178   -
179 176 # Create directories for sockets/pids and make sure GitLab can write to them
180 177 sudo -u git -H mkdir tmp/pids/
181 178 sudo -u git -H mkdir tmp/sockets/
... ... @@ -218,6 +215,9 @@ Make sure to edit both `gitlab.yml` and `puma.rb` to match your setup.
218 215 # Change 'secure password' with the value you have given to $password
219 216 # You can keep the double quotes around the password
220 217 sudo -u git -H vim config/database.yml
  218 +
  219 + # Make config/database.yml readable to git only
  220 + sudo -u git -H chmod o-rwx config/database.yml
221 221  
222 222 ## Install Gems
223 223  
... ...