gitlabhq/gitlab-recipes — pull request #88 by rajish (2013-04-30 08:58:02+00:00)
Title: Unclean server shutdown prevents puma from automatic start on bootup

The `/home/git/gitlab/tmp/sockets/gitlab.socket` must be cleaned before the `gitlab` service starts. If the server running the service was shut down for instance by a power failure then the file stays in place preventing `puma` from start.

This patch solves the problem.