Start a sidekiq cluster instead of standalone
This commit is contained in:
parent
f36950b341
commit
03530721b4
1 changed files with 2 additions and 3 deletions
5
debian/gitlab.gitlab-sidekiq.service
vendored
5
debian/gitlab.gitlab-sidekiq.service
vendored
|
@ -11,12 +11,11 @@ ReloadPropagatedFrom=gitlab.service
|
|||
Type=simple
|
||||
WorkingDirectory=/usr/share/gitlab
|
||||
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
|
||||
Environment=SIDEKIQ_QUEUES=*
|
||||
SyslogIdentifier=gitlab-sidekiq
|
||||
ExecStartPre=truncate -s 0 Gemfile.lock
|
||||
ExecStartPre=/usr/bin/bundle install --local --quiet
|
||||
ExecStart=/usr/bin/bundle exec sidekiq \
|
||||
-C /etc/gitlab/sidekiq_queues.yml \
|
||||
-e $RAILS_ENV
|
||||
ExecStart=/usr/bin/bundle exec bin/sidekiq-cluster $SIDEKIQ_QUEUES -e $RAILS_ENV
|
||||
Restart=on-abnormal
|
||||
|
||||
## No "Type=notify" support; wait for service to initialise:
|
||||
|
|
Loading…
Reference in a new issue