1 #####################################################
3 # GitLab version : 5.x - 6.x
4 # Contributors : davispuh, mtorromeo, axilleas, boeserwolf91
5 # Downloaded from : https://github.com/gitlabhq/gitlab-recipes/tree/master/init/systemd
7 ####################################################
10 Description=GitLab Sidekiq Worker
15 WorkingDirectory=/var/lib/gitlab
16 Environment=RAILS_ENV=production
17 SyslogIdentifier=gitlab-sidekiq
18 PIDFile=/var/lib/gitlab/pids/sidekiq.pid
20 ExecStart=/var/lib/gitlab/bin/bundle exec "sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e production -P pids/sidekiq.pid -d -L log/sidekiq.log >> log/sidekiq.log 2>&1"
21 ExecStop=/var/lib/gitlab/bin/bundle exec "sidekiqctl stop /var/lib/gitlab/pids/sidekiq.pid >> /var/lib/gitlab/log/sidekiq.log 2>&1"
24 WantedBy=gitlab.target