From 0c4fd05d728203474ffbba2c5ce9dba4dd433b18 Mon Sep 17 00:00:00 2001 From: Andrew Gallagher Date: Wed, 3 Jul 2013 15:15:50 +1000 Subject: [PATCH] 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: --- doc/install/installation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/install/installation.md b/doc/install/installation.md index 47faab407e..146f45f7cd 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -173,9 +173,6 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version, # Create directory for satellites sudo -u git -H mkdir /home/git/gitlab-satellites - # Make config/database.yml readable to git only - sudo -u git -H chmod o-rwx config/database.yml - # Create directories for sockets/pids and make sure GitLab can write to them sudo -u git -H mkdir tmp/pids/ 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. # Change 'secure password' with the value you have given to $password # You can keep the double quotes around the password sudo -u git -H vim config/database.yml + + # Make config/database.yml readable to git only + sudo -u git -H chmod o-rwx config/database.yml ## Install Gems