gitlabhq/gitlab-recipes — pull request #34 by maxlazio (2012-12-25 07:56:54+00:00)
Title: Update restart in gitlab init to shut down and start up resque.

We had some problems with resque staying paused when restarting gitlab using the init.d script. This caused jobs to stay queued.
Instead of removing the line

```
kill -USR2 `cat $RESQUE_PID`
```

which pauses resque workers we found that it is better to exit the process and start it back up as restart should do.
We also changed the script output as we found it needs to be more descriptive. For example, usage description should reflect the real usage command "sudo service gitlab start" instead of "unicorn start"