gitlabhq/gitlabhq — pull request #4636 by pomozoff (2013-07-25 10:42:05+00:00)
Title: Fixed init.d script for some configurations

In my environment your version of init.d script fails on 43th line because it tries execute **$1** in **/home/git** directory.
This fix resolves the issue and also removes excess three lines of code :)