diff options
Diffstat (limited to 'gitlab-ci-sidekiq.service')
-rw-r--r-- | gitlab-ci-sidekiq.service | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gitlab-ci-sidekiq.service b/gitlab-ci-sidekiq.service index 6bb58f7c21f8..fc82cf732a75 100644 --- a/gitlab-ci-sidekiq.service +++ b/gitlab-ci-sidekiq.service @@ -5,12 +5,12 @@ Description=GitLab CI Sidekiq Worker Type=forking User=gitlab_ci WorkingDirectory=<DATADIR> -Environment=RAILS_ENV=production +Environment=RAILS_ENV=production PATH=/opt/ruby2.1/bin:/usr/bin SyslogIdentifier=gitlab-ci-sidekiq PIDFile=/var/run/gitlab-ci/sidekiq.pid -ExecStart=/usr/bin/bundle exec "sidekiq -q post_receive -q mailer -q system_hook -q project_web_hook -q gitlab_shell -q common -q default -e production -P /run/gitlab-ci/sidekiq.pid -d -L log/sidekiq.log >> log/sidekiq.log 2>&1" -ExecStop=/usr/bin/bundle exec "sidekiqctl stop /run/gitlab-ci/sidekiq.pid >> <DATADIR>/log/sidekiq.log 2>&1" +ExecStart=/usr/bin/bundle-2.1 exec "sidekiq -q post_receive -q mailer -q system_hook -q project_web_hook -q gitlab_shell -q common -q default -e production -P /run/gitlab-ci/sidekiq.pid -d -L log/sidekiq.log >> log/sidekiq.log 2>&1" +ExecStop=/usr/bin/bundle-2.1 exec "sidekiqctl stop /run/gitlab-ci/sidekiq.pid >> <DATADIR>/log/sidekiq.log 2>&1" [Install] WantedBy=gitlab-ci.target |