centos 6 docs point to broken init script
Created by: mairin
I have been using the CentOS 6 install guide to try to install gitlab on my RHEL 6 system. I found it here:
https://github.com/gitlabhq/gitlab-recipes/blob/master/install/CentOS_6.md
It has some incorrect information. It says to grab the init script like so: curl https://raw.github.com/gitlabhq/gitlab-recipes/master/init.d/gitlab-centos > /etc/init.d/gitlab
However this init script doesn't work. If you continue to follow the directions, you get this error when trying to start the gitlab service:
service gitlab start Starting unicorn: Starting sidekiq: rake aborted! Don't know how to build task 'sidekiq:start'
I googled around and found another ticket on this issue tracker that points to the following init script which actually works:
sudo wget https://raw.github.com/gitlabhq/gitlab-recipes/4-0-stable/init.d/gitlab -P /etc/init.d/