Do you mind explaining the specific reasons for modifying init scripts? I believe this init.d script is using the /etc/init.d script provided by the GitLab distribution: https://github.com/gitlabhq/gitlabhq/blob/master/lib/support/init.d/gitlab In general, we try to stick as close to the GitLab install instructions as possible.