Skip to content

Commit ab3dd4b

Browse files
committed
Ensure the correct SELinux contexts are set
1 parent 204c59e commit ab3dd4b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

install/centos/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,20 +283,24 @@ GitLab Shell is a ssh access and repository management application developed spe
283283
cd /home/git
284284

285285
# Clone gitlab shell
286-
sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-shell.git -b v1.9.1
286+
sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-shell.git -b v1.9.3
287287

288288
cd gitlab-shell
289289

290290
sudo -u git -H cp config.yml.example config.yml
291291

292292
# Edit config and replace gitlab_url
293293
# with something like 'https://domain.com/'
294-
# also edit self_signed_cert to true if you are going to use selfsigned cert
294+
# also edit self_signed_cert to true if you are going to use a self signed cert
295295
sudo -u git -H editor config.yml
296296

297297
# Do setup
298298
sudo -u git -H /usr/local/bin/ruby ./bin/install
299299

300+
# Ensure the correct SELinux contexts are set
301+
# Read http://wiki.centos.org/HowTos/Network/SecuringSSH
302+
restorecon -Rv /home/git/.ssh
303+
300304
----------
301305

302306
## 5. Database

0 commit comments

Comments
 (0)