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 0ff7e37 commit 2f313a2Copy full SHA for 2f313a2
install/debian_ubuntu_aws.sh
@@ -77,6 +77,9 @@ sudo su -l gitlab -c "cd gitlab && bundle exec rake gitlab:app:setup RAILS_ENV=p
77
# Setup gitlab hooks
78
sudo cp /home/gitlab/gitlab/lib/hooks/post-receive /home/git/.gitolite/hooks/common/post-receive
79
sudo chown git:git /home/git/.gitolite/hooks/common/post-receive
80
+sudo chmod g+rwx /home/git/.gitolite # sort out permissions https://github.com/gitlabhq/gitlabhq/issues/1543
81
+sudo usermod -g git gitlab
82
+
83
84
# Set the first occurrence of host in the Gitlab config to the publicly available domain name
85
sudo sed -i '0,/host/s/localhost/'`wget -qO- http://instance-data/latest/meta-data/public-hostname`'/' /home/gitlab/gitlab/config/gitlab.yml
0 commit comments