mirror of
https://github.com/jlengrand/gitlab-recipes.git
synced 2026-03-10 08:11:17 +00:00
Change unicorn config file name to be correct
PragTob made a commit to gitlabhq that renamed unicorn.rb.orig to unicorn.rb.example. This broke my attempted install on EC2, but this should fix the problem.
This commit is contained in:
@@ -93,7 +93,7 @@ sudo sed -i 's/YOUR_SERVER_IP/'`wget -qO- http://instance-data/latest/meta-data/
|
||||
sudo sed -i 's/YOUR_SERVER_FQDN/'`wget -qO- http://instance-data/latest/meta-data/public-hostname`'/' /etc/nginx/sites-available/gitlab # Set public dns domain name.
|
||||
|
||||
# Configure Unicorn
|
||||
sudo -u gitlab cp /home/gitlab/gitlab/config/unicorn.rb.orig /home/gitlab/gitlab/config/unicorn.rb
|
||||
sudo -u gitlab cp /home/gitlab/gitlab/config/unicorn.rb.example /home/gitlab/gitlab/config/unicorn.rb
|
||||
|
||||
# Create a Gitlab service
|
||||
sudo wget https://raw.github.com/gitlabhq/gitlab-recipes/master/init.d/gitlab -P /etc/init.d/
|
||||
|
||||
Reference in New Issue
Block a user