We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ba38e commit a709d59Copy full SHA for a709d59
install/debian_ubuntu_aws.sh
@@ -74,6 +74,10 @@ sudo chown git:git /home/git/share/gitolite/hooks/common/post-receive
74
# Set the first occurrence of host in the Gitlab config to the publicly available domain name
75
sudo sed -i '0,/host/s/localhost/'`wget -qO- http://instance-data/latest/meta-data/public-hostname`'/' /home/gitlab/gitlab/config/gitlab.yml
76
77
+# Tighten security
78
+sudo -u git chmod 750 /home/git/gitolite
79
+sudo -u gitlab chmod 660 /home/gitlab/gitlab/config/*.yml
80
+
81
# Gitlab installation test (optional)
82
# sudo -u gitlab bundle exec rake gitlab:app:status RAILS_ENV=production
83
# sudo -u gitlab bundle exec rails s -e production
0 commit comments