Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd sidekiq service misses some queues #299

Open
cultcom opened this issue Feb 15, 2017 · 0 comments
Open

systemd sidekiq service misses some queues #299

cultcom opened this issue Feb 15, 2017 · 0 comments

Comments

@cultcom
Copy link

cultcom commented Feb 15, 2017

since around 8.14 there is a config file defining the available queues for sidekiq to listen on.

please update the service file to run sidekiq like this:

diff --git a/init/systemd/gitlab-sidekiq.service b/init/systemd/gitlab-sidekiq.service
index 47cf3ee..759ff0a 100644
--- a/init/systemd/gitlab-sidekiq.service
+++ b/init/systemd/gitlab-sidekiq.service
@@ -20,7 +20,7 @@ Environment=RAILS_ENV=production
 SyslogIdentifier=gitlab-sidekiq
 PIDFile=/home/git/gitlab/tmp/pids/sidekiq.pid
 
-ExecStart=/usr/bin/bundle exec "sidekiq -d -q archive_repo -q post_receive -q mailers -q system_hook -q incoming_email -q project_web_hook -q gitlab_shell -q common -q default -e production -P tmp/pids/sidekiq.pid -d -L log/sidekiq.log >> log/sidekiq.log 2>&1"
+ExecStart=/usr/bin/bundle exec "sidekiq -d -C /home/git/gitlab/config/sidekiq_queues.yml -e production -P tmp/pids/sidekiq.pid -d -L log/sidekiq.log >> log/sidekiq.log 2>&1"
 ExecStop=/usr/bin/bundle exec "sidekiqctl stop /home/git/gitlab/tmp/pids/sidekiq.pid >> /home/git/gitlab/log/sidekiq.log 2>&1"
 
 [Install]
</code>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant