Commit Graph

5 Commits

Author SHA1 Message Date
Jacob Vosmaer 8a6776caa9 Use 'exec' in Unicorn and Sidekiq launch scripts
When running Unicorn or Sidekiq in the foreground this change removes
an intermediate /bin/sh process. This makes process supervision in the
GitLab Development Kit more reliable.

This change does not affect Omnibus-GitLab (because there we do not
use these launch scripts). Installations from source do use the launch
scripts but for the standard GitLab init script this change will not
make a difference.

Custom installations using Upstart or Systemd may be affected however,
because under certain configurations these systems count exactly how
many forks happen during process startup, and we are reducing that
number by one here.
2016-04-28 12:11:08 +02:00
Jacob Vosmaer 66f28577ad Improve bin/ launchers 2016-01-14 15:08:15 +01:00
Jacob Vosmaer 59d2f6db75 Wrap arguments for `[ -z` in double quotes 2014-09-08 14:28:42 +02:00
Pavel Novitskiy b37247ac31 change bash to sh 2014-07-04 11:45:20 +04:00
Marin Jankovski 2341cefd6f Move from script to bin directory. 2014-05-27 17:14:41 +02:00