Skip to content

Commit 92de9f4

Browse files
author
Itxaka Serrano
committed
create the dirs before
1 parent 24ec2e2 commit 92de9f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/install_gitlab.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ chmod u+rwx,g=rx,o-rwx /home/travis/gitlab-satellites
1313
chmod -R u+rwX tmp/pids/
1414
chmod -R u+rwX tmp/sockets/
1515
chmod -R u+rwX public/uploads
16+
mkdir /home/travis/repositories/
17+
sudo chmod -R ug+rwX,o-rwx /home/travis/repositories/
18+
sudo chmod -R ug-s /home/travis/repositories/
1619
cp config/unicorn.rb.example config/unicorn.rb
1720
cp config/initializers/rack_attack.rb.example config/initializers/rack_attack.rb
1821
git config --global user.name "GitLab"
@@ -26,8 +29,6 @@ bundle exec rake gitlab:shell:install[v1.9.8] REDIS_URL=redis://localhost:6379 R
2629
echo "yes" |bundle exec rake gitlab:setup RAILS_ENV=production
2730
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
2831
sudo update-rc.d gitlab defaults 21
29-
sudo chmod -R ug+rwX,o-rwx /home/travis/repositories/
30-
sudo chmod -R ug-s /home/travis/repositories/
3132
bundle exec rake gitlab:env:info RAILS_ENV=production
3233
bundle exec rake assets:precompile RAILS_ENV=production
3334
service gitlab restart

0 commit comments

Comments
 (0)