Commit 0c4fd05d728203474ffbba2c5ce9dba4dd433b18

Authored by Andrew Gallagher
1 parent 7588186e

move 'make config/database.yml readable to git only' instruction

I've moved the instruction in question to the the 
'Configure GitLab DB settings'. Can't change permission to a file that doesn't already exist :wink:
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  
... ...