summarylogtreecommitdiffstats
path: root/gitlab-sidekiq.service
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab-sidekiq.service')
-rw-r--r--gitlab-sidekiq.service10
1 files changed, 5 insertions, 5 deletions
diff --git a/gitlab-sidekiq.service b/gitlab-sidekiq.service
index c32000ac4f5b..db3aad9a41ba 100644
--- a/gitlab-sidekiq.service
+++ b/gitlab-sidekiq.service
@@ -4,23 +4,23 @@ Requires=redis.service gitlab-unicorn.service
Wants=mysqld.service postgresql.service
After=redis.service mysqld.service postgresql.service network.target gitlab-unicorn.service
JoinsNamespaceOf=gitlab-unicorn.service
+StartLimitIntervalSec=100s
[Service]
User=gitlab
Group=gitlab
WorkingDirectory=<DATADIR>
-Environment=RAILS_ENV=production PATH=/opt/ruby/bin:/usr/bin
+Environment=RAILS_ENV=production PATH=/opt/ruby2.3/bin:/usr/bin
SyslogIdentifier=gitlab-sidekiq
PIDFile=/run/gitlab/sidekiq.pid
-CapabilityBoundingSet=
PrivateTmp=true
-PrivateDevices=true
ProtectSystem=full
ProtectHome=true
-# NoNewPrivileges breaks gitlabs' email delivery if you
+# These options break Gitlab's email delivery if you
# use postfix' sendmail wrapper. If you use an SMTP server
-# instead you can safely enable this security feature.
+# instead you can safely enable these security features.
#NoNewPrivileges=true
+#CapabilityBoundingSet=
ExecStart=/usr/bin/bundle-2.3 exec sidekiq -C <DATADIR>/config/sidekiq_queues.yml -e production
ExecStop=/usr/bin/bundle-2.3 exec sidekiqctl stop /run/gitlab/sidekiq.pid
Restart=on-failure