GitlabHQ init.d Daemon (gitlabhqd)
Created by: uuf6429
After some time working on this, I came up with the following solution which seems to work in my case:
https://docs.google.com/document/d/1Cm7hIwbyrGmdkAOqsDmVdGNz0moh11xXeTzqMbbzg_c/edit
Feel free to use this and/or add it to the Wiki system - I'm sure it will help someone out there.
In short, it runs gitlabhq as a server using "bundle exec rails s", but as with common daemon convention, it also supports shutting down, restarting and finding the status of the service.
Don't forget to:
chmod 0755 /etc/init.d/gitlabhqd
chkconfig gitlabhqd on
service gitlabhqd start