blob: 6bb58f7c21f8a17317fc39d7e2c939015f03e2a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[Unit]
Description=GitLab CI Sidekiq Worker
[Service]
Type=forking
User=gitlab_ci
WorkingDirectory=<DATADIR>
Environment=RAILS_ENV=production
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"
[Install]
WantedBy=gitlab-ci.target
|