Update init.d script
Created by: rezigned
The original init.d script uses a fixed username (e.g. git). Which is not flexible when we using other user. So, I've updated it to use $APP_USER variable instead and wrap it in a function to reduce repetitive codes.
Merge request reports
Activity
Created by: rezigned
@randx I've got a question about the
restart
process in this script. Right now it only restartssidekiq
process but not the web serverpuma
. I think it should restart the web server too, but maybe you have some reason behind that.I had some problem where I updated Gitlab's config and then run
/etc/init.d/gitlab restart
but the config is not reloaded. So I have to runstop
andstart
every time.I can help update the script if you want it to restart the server too.
By Administrator on 2013-05-09T07:24:02 (imported from GitLab project)
By Administrator on 2013-05-09T07:24:02 (imported from GitLab)
Created by: hiroponz
@rezigned Related to https://github.com/gitlabhq/gitlab-recipes/pull/77.
By Administrator on 2013-05-09T07:38:57 (imported from GitLab project)
By Administrator on 2013-05-09T07:38:57 (imported from GitLab)
Created by: rezigned
Sorry, @hiroponz maybe I misunderstood, from that link it only mentions about
sidekiq
process. But my question is why it doesn't stop/startpuma
too?By Administrator on 2013-05-09T10:44:03 (imported from GitLab project)
By Administrator on 2013-05-09T10:44:03 (imported from GitLab)
Created by: hiroponz
@rezigned Sorry, I have mistook. I have no idea about your question. For reference Puma Restart
By Administrator on 2013-05-09T10:53:48 (imported from GitLab project)
By Administrator on 2013-05-09T10:53:48 (imported from GitLab)