From 8aba575f89cde29a03cc3537a7f99799ceaf8b07 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sun, 19 Oct 2014 11:00:30 +0530 Subject: [PATCH] install: do not create the ${GITLAB_DATA_DIR}/.ssh directory, its created in the init script --- assets/setup/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/setup/install b/assets/setup/install index bbc85d15..5b0d1c53 100755 --- a/assets/setup/install +++ b/assets/setup/install @@ -28,8 +28,8 @@ rm -rf /etc/ssh/ssh_host_*_key /etc/ssh/ssh_host_*_key.pub adduser --disabled-login --gecos 'GitLab' git passwd -d git +# create symlink to ${DATA_DIR}/.ssh rm -rf /home/git/.ssh -sudo -u git -H mkdir -p ${GITLAB_DATA_DIR}/.ssh sudo -u git -H ln -s ${GITLAB_DATA_DIR}/.ssh /home/git/.ssh # create the data store