summarylogtreecommitdiffstats
path: root/gitlab-sidekiq.service
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab-sidekiq.service')
-rw-r--r--gitlab-sidekiq.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab-sidekiq.service b/gitlab-sidekiq.service
index 31833036fc6e..306ed8d31104 100644
--- a/gitlab-sidekiq.service
+++ b/gitlab-sidekiq.service
@@ -8,7 +8,7 @@ After=redis.service mysqld.service postgresql.service network.target
User=gitlab
Group=gitlab
WorkingDirectory=<DATADIR>
-Environment=RAILS_ENV=production
+Environment=RAILS_ENV=production PATH=/opt/ruby2.1/bin:/usr/bin
SyslogIdentifier=gitlab-sidekiq
CapabilityBoundingSet=
@@ -21,7 +21,7 @@ ProtectHome=true
# instead you can safely enable this security feature.
#NoNewPrivileges=true
-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 -q archive_repo -e production -L <LOGDIR>/sidekiq.log >> <LOGDIR>/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 -q archive_repo -e production -L <LOGDIR>/sidekiq.log >> <LOGDIR>/sidekiq.log 2>&1"
[Install]
WantedBy=multi-user.target