Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix not starting sidekiq process if "gitlab restart". #77

Closed
wants to merge 1 commit into from

3 participants

@hiroponz

It needs to wait for completing STOP_SIDEKIQ before START_SIDEKIQ.
refs #52

@hiroponz hiroponz Fix not starting sidekiq process if "gitlab restart".
It needs to wait for completing STOP_SIDEKIQ before START_SIDEKIQ.
refs #52
7f8dd74
@rfkrocktk

:+1: for this fix. Please merge.

@Razer6
Collaborator

init.d script moved to GitLab repository. Please raise a PR there.

@Razer6 Razer6 closed this
@hiroponz hiroponz deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 8, 2013
  1. @hiroponz

    Fix not starting sidekiq process if "gitlab restart".

    hiroponz authored
    It needs to wait for completing STOP_SIDEKIQ before START_SIDEKIQ.
    refs #52
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  init.d/gitlab
View
2  init.d/gitlab
@@ -74,7 +74,7 @@ restart() {
if [ "$PID" -ne 0 -a "$STATUS" -ne 0 ]; then
echo "Restarting $DESC..."
kill -USR2 `cat $WEB_SERVER_PID`
- sudo -u git -H bash -l -c "mkdir -p $PID_PATH && $STOP_SIDEKIQ > /dev/null 2>&1 &"
+ sudo -u git -H bash -l -c "mkdir -p $PID_PATH && $STOP_SIDEKIQ > /dev/null 2>&1"
if [ `whoami` = root ]; then
sudo -u git -H bash -l -c "mkdir -p $PID_PATH && $START_SIDEKIQ > /dev/null 2>&1 &"
fi
Something went wrong with that request. Please try again.