]> git.pld-linux.org Git - packages/gitlab-ce.git/blob - gitlab-sidekiq.service
- unconditional noarch subpackages
[packages/gitlab-ce.git] / gitlab-sidekiq.service
1 #####################################################
2 #
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
6 #
7 ####################################################
8
9 [Unit]
10 Description=GitLab Sidekiq Worker
11
12 [Service]
13 Type=forking
14 User=gitlab
15 WorkingDirectory=/usr/lib/gitlab
16 Environment=RAILS_ENV=production
17 SyslogIdentifier=gitlab-sidekiq
18 PIDFile=/var/run/gitlab/sidekiq.pid
19
20 ExecStart=/usr/bin/bundle exec "sidekiq -C config/sidekiq_queues.yml -e production -P pids/sidekiq.pid -d -L log/sidekiq.log >> log/sidekiq.log 2>&1"
21 ExecStop=/usr/bin/bundle exec "sidekiqctl stop /var/run/gitlab/sidekiq.pid >> /var/lib/gitlab/sidekiq.log 2>&1"
22
23 [Install]
24 WantedBy=gitlab.target
This page took 0.066681 seconds and 4 git commands to generate.