Commit 0c4fd05d728203474ffbba2c5ce9dba4dd433b18
1 parent
7588186e
Exists in
master
and in
4 other branches
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
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,9 +173,6 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version, | ||
173 | # Create directory for satellites | 173 | # Create directory for satellites |
174 | sudo -u git -H mkdir /home/git/gitlab-satellites | 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 | # Create directories for sockets/pids and make sure GitLab can write to them | 176 | # Create directories for sockets/pids and make sure GitLab can write to them |
180 | sudo -u git -H mkdir tmp/pids/ | 177 | sudo -u git -H mkdir tmp/pids/ |
181 | sudo -u git -H mkdir tmp/sockets/ | 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,6 +215,9 @@ Make sure to edit both `gitlab.yml` and `puma.rb` to match your setup. | ||
218 | # Change 'secure password' with the value you have given to $password | 215 | # Change 'secure password' with the value you have given to $password |
219 | # You can keep the double quotes around the password | 216 | # You can keep the double quotes around the password |
220 | sudo -u git -H vim config/database.yml | 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 | ## Install Gems | 222 | ## Install Gems |
223 | 223 |